Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 212.6 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.586/1.586, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.828/2.828, allocations: 476 MB / 0.7699 GB, free: 4.742 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 70.12 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3763, allocations: 170 MB / 1.283 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002984/0.3792, allocations: 1.634 MB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0022/0.3814, allocations: 1.279 MB / 1.285 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.8e-05/0.3815, allocations: 8 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004069/0.3819, allocations: 89.16 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.3821, allocations: 71.52 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007488/0.3828, allocations: 272.6 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.3831, allocations: 191.2 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.321e-05/0.3831, allocations: 13.61 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.3833, allocations: 87.69 kB / 1.286 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.3834, allocations: 83.59 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.3834, allocations: 8 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005574/0.384, allocations: 327.4 kB / 1.286 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.3841, allocations: 63.8 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.577e-05/0.3842, allocations: 75.59 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005509/0.3847, allocations: 398.5 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3847, allocations: 4 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3847, allocations: 4 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3847, allocations: 0 / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0009082/0.3856, allocations: 496.5 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3857, allocations: 8.031 kB / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.654e-05/0.3857, allocations: 34.75 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.855e-05/0.3858, allocations: 28.8 kB / 1.288 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.3863, allocations: 214.6 kB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001773/0.3864, allocations: 145.1 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.3864, allocations: 384 / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002144/0.3867, allocations: 93.59 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.3867, allocations: 3.938 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3867, allocations: 3.984 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.3867, allocations: 0 / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002489/0.3869, allocations: 99.94 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000272/0.3872, allocations: 216.6 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.3886, allocations: 290.4 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.3887, allocations: 56.83 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/0.3888, allocations: 27.83 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.3889, allocations: 38.5 kB / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=6): time 1.874e-06/0.3889, allocations: 0 / 1.289 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6): time 0.0005134/0.3894, allocations: 205.5 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.3894, allocations: 51.41 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/0.3898, allocations: 308.4 kB / 1.289 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.3898, allocations: 33.64 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.931e-05/0.3899, allocations: 124.5 kB / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.3899, allocations: 19.84 kB / 1.289 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.173e-05/0.39, allocations: 57.69 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3901, allocations: 330.8 kB / 1.29 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.3904, allocations: 159.9 kB / 1.29 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.3906, allocations: 155.9 kB / 1.29 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/0.3911, allocations: 297.6 kB / 1.29 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3911, allocations: 0 / 1.29 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005734/0.3916, allocations: 409.1 kB / 1.291 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.3916, allocations: 8 kB / 1.291 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.3917, allocations: 0 / 1.291 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3917, allocations: 4 kB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.3918, allocations: 19.98 kB / 1.291 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.3918, allocations: 0 / 1.291 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.3919, allocations: 39.62 kB / 1.291 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.3919, allocations: 4 kB / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.392, allocations: 133.8 kB / 1.291 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.3921, allocations: 27.78 kB / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003774/0.3925, allocations: 167.5 kB / 1.291 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3925, allocations: 4 kB / 1.291 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3925, allocations: 0 / 1.291 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3925, allocations: 0 / 1.291 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.3927, allocations: 192.7 kB / 1.291 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.3927, allocations: 7.922 kB / 1.291 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.194e-05/0.3928, allocations: 12 kB / 1.291 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3928, allocations: 0 / 1.291 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.3928, allocations: 7.938 kB / 1.291 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3928, allocations: 0 / 1.291 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3928, allocations: 0 / 1.291 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.3931, allocations: 192.9 kB / 1.292 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.067e-05/0.3932, allocations: 35.72 kB / 1.292 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.3932, allocations: 0 / 1.292 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.976e-05/0.3933, allocations: 7.984 kB / 1.292 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.3934, allocations: 0 / 1.292 GB, free: 2.938 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.984e-06/0.3934, allocations: 4 kB / 1.292 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000198/0.3936, allocations: 211 kB / 1.292 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3936, allocations: 0 / 1.292 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003924/0.394, allocations: 107.8 kB / 1.292 GB, free: 2.621 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001067/0.395, allocations: 0.8951 MB / 1.293 GB, free: 1.695 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005315/0.3956, allocations: 307.3 kB / 1.293 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3956, allocations: 0 / 1.293 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.3957, allocations: 55.91 kB / 1.293 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.396, allocations: 36.56 kB / 1.293 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/0.3993, allocations: 2.696 MB / 1.296 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.3994, allocations: 128 kB / 1.296 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.951e-05/0.3995, allocations: 25 kB / 1.296 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.556e-05/0.3996, allocations: 55.42 kB / 1.296 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/0.3996, allocations: 3.938 kB / 1.296 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03559/0.4352, allocations: 6.559 MB / 1.302 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.2, allocations: 13.45 kB / 1.302 GB, free: 7.906 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat --tempDir=temp_Buildings_11_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.fmu > Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,T,TMonotone,errMonotone,errNonMonotone Variables in the result:T,TExa,TMonotone,TdMonotone[1],TdMonotone[2],TdMonotone[3],TdMonotone[4],TdMonotone[5],TdMonotone[6],Td[1],Td[2],Td[3],Td[4],Td[5],Td[6],dTCha,dT_duMonotone[1],dT_duMonotone[2],dT_duMonotone[3],dT_duMonotone[4],dT_duMonotone[5],dT_duMonotone[6],dT_du[1],dT_du[2],dT_du[3],dT_du[4],dT_du[5],dT_du[6],errMonotone,errNonMonotone,materialMonotone.LHea,materialMonotone.R,materialMonotone.TLiq,materialMonotone.TSol,materialMonotone.c,materialMonotone.d,materialMonotone.k,materialMonotone.nSta,materialMonotone.nStaReal,materialMonotone.nStaRef,materialMonotone.piMat,materialMonotone.piRef,materialMonotone.steadyState,materialMonotone.x,materialNonMonotone.LHea,materialNonMonotone.R,materialNonMonotone.TLiq,materialNonMonotone.TSol,materialNonMonotone.c,materialNonMonotone.d,materialNonMonotone.k,materialNonMonotone.nSta,materialNonMonotone.nStaReal,materialNonMonotone.nStaRef,materialNonMonotone.piMat,materialNonMonotone.piRef,materialNonMonotone.steadyState,materialNonMonotone.x,time,u,udMonotone[1],udMonotone[2],udMonotone[3],udMonotone[4],udMonotone[5],udMonotone[6],ud[1],ud[2],ud[3],ud[4],ud[5],ud[6] [Calling sys.exit(0), Time elapsed: 19.436368146911263]