Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.001326/0.001326, allocations: 82.41 kB / 19.76 MB, free: 1.875 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.001381/0.001381, allocations: 163.2 kB / 23.01 MB, free: 4.594 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.413/1.413, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.875/2.875, allocations: 394.2 MB / 0.6386 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=86400,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") [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.002054/0.002054, allocations: 71.89 kB / 1.009 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7607/0.7627, allocations: 181.8 MB / 1.187 GB, free: 16.22 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1745/0.9373, allocations: 138.5 MB / 1.322 GB, free: 11.38 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02595/0.9632, allocations: 19.72 MB / 1.341 GB, free: 7.602 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/0.9646, allocations: 71.38 kB / 1.341 GB, free: 7.531 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00172/0.9663, allocations: 1.169 MB / 1.342 GB, free: 6.359 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001574/0.9679, allocations: 0.9185 MB / 1.343 GB, free: 5.438 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008872/0.9688, allocations: 386.9 kB / 1.344 GB, free: 5.059 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001419/0.9702, allocations: 1.274 MB / 1.345 GB, free: 3.777 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007042/0.9709, allocations: 0.5391 MB / 1.345 GB, free: 3.234 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006695/0.9716, allocations: 0.5686 MB / 1.346 GB, free: 2.664 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.9728, allocations: 0.9799 MB / 1.347 GB, free: 1.68 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.9729, allocations: 68 kB / 1.347 GB, free: 1.613 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002405/0.9731, allocations: 115.9 kB / 1.347 GB, free: 1.5 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003234/0.9735, allocations: 320.7 kB / 1.347 GB, free: 1.188 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004/0.9739, allocations: 381.5 kB / 1.348 GB, free: 0.8125 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.9752, allocations: 1.236 MB / 1.349 GB, free: 15.57 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.9752, allocations: 0 / 1.349 GB, free: 15.57 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.223e-06/0.9752, allocations: 4 kB / 1.349 GB, free: 15.57 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.688e-05/0.9752, allocations: 0 / 1.349 GB, free: 15.57 MB / 1.201 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.00246/0.9777, allocations: 1.501 MB / 1.35 GB, free: 14.03 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.9777, allocations: 8.031 kB / 1.35 GB, free: 14.02 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.9779, allocations: 148 kB / 1.351 GB, free: 13.88 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009268/0.9789, allocations: 0.6141 MB / 1.351 GB, free: 13.23 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001593/0.979, allocations: 100.4 kB / 1.351 GB, free: 13.11 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.64e-05/0.9791, allocations: 48 kB / 1.351 GB, free: 13.07 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.9801, allocations: 0.5184 MB / 1.352 GB, free: 12.54 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.9801, allocations: 0 / 1.352 GB, free: 12.54 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.641e-05/0.9802, allocations: 16 kB / 1.352 GB, free: 12.52 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.9802, allocations: 15.94 kB / 1.352 GB, free: 12.51 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009211/0.9811, allocations: 423.7 kB / 1.352 GB, free: 12.09 MB / 1.201 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.00333/0.9845, allocations: 1.777 MB / 1.354 GB, free: 10.28 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.9855, allocations: 425.4 kB / 1.354 GB, free: 9.855 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006984/0.9862, allocations: 285.3 kB / 1.355 GB, free: 9.574 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.9862, allocations: 8.266 kB / 1.355 GB, free: 9.566 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005861/0.9868, allocations: 287.8 kB / 1.355 GB, free: 9.273 MB / 1.201 GB Notification: Performance of pre-optimization done (n=44): time 1.974e-06/0.9868, allocations: 0 / 1.355 GB, free: 9.273 MB / 1.201 GB Notification: Performance of matching and sorting (n=44): time 0.002752/0.9895, allocations: 1.002 MB / 1.356 GB, free: 8.258 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.9896, allocations: 59.41 kB / 1.356 GB, free: 8.188 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/0.9917, allocations: 1.767 MB / 1.358 GB, free: 6.41 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 4.619e-05/0.9917, allocations: 41.69 kB / 1.358 GB, free: 6.363 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004875/0.9922, allocations: 0.5259 MB / 1.358 GB, free: 5.832 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.9923, allocations: 150.8 kB / 1.358 GB, free: 5.684 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.9925, allocations: 98.34 kB / 1.358 GB, free: 5.582 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.9926, allocations: 326 kB / 1.359 GB, free: 5.258 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005253/0.9932, allocations: 221.2 kB / 1.359 GB, free: 5.039 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006309/0.9938, allocations: 336.1 kB / 1.359 GB, free: 4.664 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.9948, allocations: 0.5306 MB / 1.36 GB, free: 4.086 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.9948, allocations: 0 / 1.36 GB, free: 4.086 MB / 1.201 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001683/0.9965, allocations: 0.8179 MB / 1.361 GB, free: 3.258 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.9965, allocations: 4 kB / 1.361 GB, free: 3.254 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.9965, allocations: 7.938 kB / 1.361 GB, free: 3.246 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004245/0.997, allocations: 142 kB / 1.361 GB, free: 3.105 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/0.9974, allocations: 100 kB / 1.361 GB, free: 3.008 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00309/1, allocations: 2.441 MB / 1.363 GB, free: 480 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004207/1.001, allocations: 79.56 kB / 1.363 GB, free: 400 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/1.001, allocations: 20 kB / 1.363 GB, free: 380 kB / 1.201 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,reference.nextTimeEvent,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,assEqu.satisfied,$PRE.assEqu.satisfied,mean.y_last,$PRE.mean.y_last,$whenCondition2,intGai.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled) * 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.0005019/1.001, allocations: 387.6 kB / 1.364 GB, free: 15.98 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/1.002, allocations: 127.2 kB / 1.364 GB, free: 15.86 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/1.003, allocations: 0.7087 MB / 1.365 GB, free: 15.14 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/1.003, allocations: 4 kB / 1.365 GB, free: 15.13 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/1.003, allocations: 11.94 kB / 1.365 GB, free: 15.12 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.944e-06/1.003, allocations: 3.984 kB / 1.365 GB, free: 15.12 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002472/1.006, allocations: 1.374 MB / 1.366 GB, free: 13.7 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.006, allocations: 0 / 1.366 GB, free: 13.7 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/1.006, allocations: 51.89 kB / 1.366 GB, free: 13.65 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004102/1.006, allocations: 161.6 kB / 1.366 GB, free: 13.48 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/1.006, allocations: 19.88 kB / 1.366 GB, free: 13.47 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004298/1.011, allocations: 3.967 MB / 1.37 GB, free: 9.305 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.011, allocations: 0 / 1.37 GB, free: 9.305 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/1.012, allocations: 1.009 MB / 1.371 GB, free: 8.27 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002594/1.013, allocations: 139.1 kB / 1.371 GB, free: 8.133 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-05/1.013, allocations: 15.98 kB / 1.371 GB, free: 8.117 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003344/1.013, allocations: 27.97 kB / 1.371 GB, free: 8.09 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/1.013, allocations: 60.02 kB / 1.371 GB, free: 8.031 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/1.013, allocations: 12 kB / 1.371 GB, free: 8.02 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001511/1.015, allocations: 1.289 MB / 1.372 GB, free: 6.727 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.01e-07/1.015, allocations: 4 kB / 1.372 GB, free: 6.723 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007311/1.016, allocations: 203.7 kB / 1.373 GB, free: 6.523 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (mean.x,assEqu.diff,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,thermalZoneTwoElements.extWallRC.thermCapExt[1].T) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mean.y_last,assEqu.nFai,assEqu.satisfied,reference.nextTimeEventScaled,reference.nextTimeEvent,intGai.nextTimeEventScaled,intGai.nextTimeEvent) * 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 (30): * Single equations (assignments): 22 * 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.001961/1.018, allocations: 0.5073 MB / 1.373 GB, free: 6.227 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001431/1.019, allocations: 0.6624 MB / 1.374 GB, free: 5.551 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.019, allocations: 0 / 1.374 GB, free: 5.551 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0008984/1.02, allocations: 0.5207 MB / 1.374 GB, free: 5.004 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009866/1.021, allocations: 209.4 kB / 1.375 GB, free: 4.809 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003697/1.025, allocations: 2.384 MB / 1.377 GB, free: 2.391 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006938/1.025, allocations: 0.5583 MB / 1.377 GB, free: 1.797 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002556/1.025, allocations: 96.66 kB / 1.378 GB, free: 1.703 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/1.026, allocations: 48.48 kB / 1.378 GB, free: 1.656 MB / 1.217 GB Notification: Performance of SimCode: time 5.31e-07/1.026, allocations: 0 / 1.378 GB, free: 1.656 MB / 1.217 GB Notification: Performance of Templates: time 0.02062/1.046, allocations: 10.37 MB / 1.388 GB, free: 7.473 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 132.54947462503333]