Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 110.6 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.755/2.755, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 63.91 kB / 1.104 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7382/0.7401, allocations: 168.7 MB / 1.269 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1771/0.9173, allocations: 157.3 MB / 1.422 GB, free: 7.215 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02611/0.9434, allocations: 21.81 MB / 1.444 GB, free: 1.336 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001638/0.945, allocations: 55.69 kB / 1.444 GB, free: 1.281 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001829/0.9469, allocations: 1.165 MB / 1.445 GB, free: 116 kB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001669/0.9485, allocations: 0.868 MB / 1.446 GB, free: 15.24 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.9497, allocations: 437.7 kB / 1.446 GB, free: 14.81 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0016/0.9513, allocations: 1.255 MB / 1.447 GB, free: 13.56 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008634/0.9522, allocations: 0.5659 MB / 1.448 GB, free: 12.99 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007573/0.953, allocations: 0.5608 MB / 1.448 GB, free: 12.43 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.9541, allocations: 1.003 MB / 1.449 GB, free: 11.42 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.9542, allocations: 64 kB / 1.449 GB, free: 11.36 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002193/0.9544, allocations: 104 kB / 1.45 GB, free: 11.25 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002927/0.9547, allocations: 324.6 kB / 1.45 GB, free: 10.94 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004482/0.9552, allocations: 488.8 kB / 1.45 GB, free: 10.46 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.9564, allocations: 1.206 MB / 1.452 GB, free: 9.246 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.9565, allocations: 7.984 kB / 1.452 GB, free: 9.238 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9565, allocations: 3.938 kB / 1.452 GB, free: 9.234 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.729e-05/0.9565, allocations: 0 / 1.452 GB, free: 9.234 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002371/0.9588, allocations: 1.513 MB / 1.453 GB, free: 7.668 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.9589, allocations: 12.03 kB / 1.453 GB, free: 7.656 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001191/0.959, allocations: 86.7 kB / 1.453 GB, free: 7.562 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002423/0.9593, allocations: 140 kB / 1.453 GB, free: 7.426 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.9603, allocations: 0.6754 MB / 1.454 GB, free: 6.695 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.9604, allocations: 74.69 kB / 1.454 GB, free: 6.617 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.882e-05/0.9605, allocations: 44 kB / 1.454 GB, free: 6.574 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.9616, allocations: 0.5184 MB / 1.455 GB, free: 6.043 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.9616, allocations: 7.938 kB / 1.455 GB, free: 6.035 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.643e-05/0.9616, allocations: 20 kB / 1.455 GB, free: 6.016 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.9617, allocations: 16 kB / 1.455 GB, free: 6 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008623/0.9625, allocations: 411.7 kB / 1.455 GB, free: 5.598 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003944/0.9665, allocations: 2.72 MB / 1.458 GB, free: 2.645 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009452/0.9674, allocations: 420.2 kB / 1.458 GB, free: 2.223 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006241/0.968, allocations: 286.2 kB / 1.458 GB, free: 1.941 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.9681, allocations: 12.62 kB / 1.458 GB, free: 1.93 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005531/0.9686, allocations: 295.6 kB / 1.459 GB, free: 1.629 MB / 1.154 GB Notification: Performance of pre-optimization done (n=44): time 2.645e-06/0.9686, allocations: 0 / 1.459 GB, free: 1.629 MB / 1.154 GB Notification: Performance of matching and sorting (n=44): time 0.002613/0.9712, allocations: 1.142 MB / 1.46 GB, free: 448 kB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.9713, allocations: 63.34 kB / 1.46 GB, free: 372 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/0.9732, allocations: 1.764 MB / 1.461 GB, free: 14.59 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.276e-05/0.9733, allocations: 37.7 kB / 1.462 GB, free: 14.55 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004733/0.9738, allocations: 0.5293 MB / 1.462 GB, free: 14.01 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.9739, allocations: 146.7 kB / 1.462 GB, free: 13.87 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.974, allocations: 106.2 kB / 1.462 GB, free: 13.76 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.9742, allocations: 326 kB / 1.463 GB, free: 13.43 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004738/0.9747, allocations: 209 kB / 1.463 GB, free: 13.23 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005704/0.9752, allocations: 339.2 kB / 1.463 GB, free: 12.85 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009336/0.9762, allocations: 0.5278 MB / 1.464 GB, free: 12.28 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.9762, allocations: 0 / 1.464 GB, free: 12.28 MB / 1.17 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001592/0.9778, allocations: 0.8018 MB / 1.464 GB, free: 11.46 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.9778, allocations: 4 kB / 1.464 GB, free: 11.46 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.9778, allocations: 4 kB / 1.464 GB, free: 11.46 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000418/0.9782, allocations: 143.8 kB / 1.465 GB, free: 11.32 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/0.9786, allocations: 99.81 kB / 1.465 GB, free: 11.22 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003266/0.9819, allocations: 2.601 MB / 1.467 GB, free: 8.484 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004937/0.9823, allocations: 79.58 kB / 1.467 GB, free: 8.406 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.445e-05/0.9824, allocations: 20 kB / 1.467 GB, free: 8.387 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006126/0.983, allocations: 387.2 kB / 1.468 GB, free: 7.996 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.9832, allocations: 131.2 kB / 1.468 GB, free: 7.867 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002321/0.9834, allocations: 143.7 kB / 1.468 GB, free: 7.719 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.9834, allocations: 4 kB / 1.468 GB, free: 7.715 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-05/0.9835, allocations: 4 kB / 1.468 GB, free: 7.711 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.657e-06/0.9835, allocations: 7.922 kB / 1.468 GB, free: 7.703 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002514/0.986, allocations: 1.482 MB / 1.469 GB, free: 6.164 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.986, allocations: 4 kB / 1.469 GB, free: 6.16 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.9862, allocations: 47.91 kB / 1.469 GB, free: 6.113 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004046/0.9866, allocations: 162.9 kB / 1.47 GB, free: 5.949 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.605e-05/0.9866, allocations: 15.98 kB / 1.47 GB, free: 5.934 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004135/0.9908, allocations: 4.023 MB / 1.474 GB, free: 1.637 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.9908, allocations: 11.97 kB / 1.474 GB, free: 1.625 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.9926, allocations: 0.9896 MB / 1.474 GB, free: 0.6133 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003249/0.9929, allocations: 220.2 kB / 1.475 GB, free: 388 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.493e-05/0.993, allocations: 11.98 kB / 1.475 GB, free: 376 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000297/0.9933, allocations: 35.97 kB / 1.475 GB, free: 340 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.9935, allocations: 51.86 kB / 1.475 GB, free: 288 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-05/0.9935, allocations: 16 kB / 1.475 GB, free: 272 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001526/0.995, allocations: 1.285 MB / 1.476 GB, free: 14.98 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.995, allocations: 0 / 1.476 GB, free: 14.98 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0007584/0.9958, allocations: 203.7 kB / 1.476 GB, free: 14.78 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003805/0.9996, allocations: 1.905 MB / 1.478 GB, free: 13.04 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001484/1.001, allocations: 0.6478 MB / 1.479 GB, free: 12.38 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.001, allocations: 3.938 kB / 1.479 GB, free: 12.37 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000851/1.002, allocations: 0.5091 MB / 1.479 GB, free: 11.84 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009664/1.003, allocations: 206.6 kB / 1.479 GB, free: 11.64 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01274/1.016, allocations: 8.535 MB / 1.488 GB, free: 2.879 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008811/1.017, allocations: 1.149 MB / 1.489 GB, free: 1.699 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003191/1.017, allocations: 100.8 kB / 1.489 GB, free: 1.602 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004722/1.017, allocations: 407.3 kB / 1.489 GB, free: 1.207 MB / 1.186 GB Notification: Performance of SimCode: time 9.11e-07/1.017, allocations: 0 / 1.489 GB, free: 1.207 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5031/1.52, allocations: 20.96 MB / 1.51 GB, free: 12.51 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.86, allocations: 9.391 kB / 1.51 GB, free: 12.5 MB / 1.217 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --stepSize=60 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 23.47411203989759]