Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00776/0.00776, allocations: 99.34 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001838/0.001839, allocations: 198.4 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.539/2.539, allocations: 472.7 MB / 0.7453 GB, free: 472 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 63.89 kB / 1.069 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7369/0.7381, allocations: 159.9 MB / 1.226 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1544/0.8925, allocations: 157.6 MB / 1.38 GB, free: 15.27 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02432/0.9169, allocations: 22.08 MB / 1.401 GB, free: 9.125 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00177/0.9187, allocations: 55.69 kB / 1.401 GB, free: 9.07 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0022/0.921, allocations: 2.178 MB / 1.403 GB, free: 6.887 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001807/0.9228, allocations: 1.452 MB / 1.405 GB, free: 5.43 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.9242, allocations: 0.6223 MB / 1.405 GB, free: 4.812 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001715/0.926, allocations: 1.957 MB / 1.407 GB, free: 2.848 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001145/0.9271, allocations: 1.119 MB / 1.408 GB, free: 1.703 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009991/0.9281, allocations: 0.923 MB / 1.409 GB, free: 0.7773 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001519/0.9296, allocations: 1.592 MB / 1.411 GB, free: 15.18 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.9298, allocations: 96 kB / 1.411 GB, free: 15.09 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003155/0.9301, allocations: 143.9 kB / 1.411 GB, free: 14.95 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004045/0.9306, allocations: 0.5511 MB / 1.412 GB, free: 14.4 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0006089/0.9312, allocations: 0.8108 MB / 1.412 GB, free: 13.58 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001724/0.9329, allocations: 1.96 MB / 1.414 GB, free: 11.62 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.9329, allocations: 0 / 1.414 GB, free: 11.62 MB / 1.139 GB Notification: Performance of FrontEnd: time 9.72e-07/0.9329, allocations: 0 / 1.414 GB, free: 11.62 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.501e-05/0.933, allocations: 0 / 1.414 GB, free: 11.62 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.002979/0.9359, allocations: 2.453 MB / 1.417 GB, free: 9.102 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.936, allocations: 12.03 kB / 1.417 GB, free: 9.09 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00026/0.9362, allocations: 250.4 kB / 1.417 GB, free: 8.844 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.9374, allocations: 1.057 MB / 1.418 GB, free: 7.719 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/0.9376, allocations: 87.69 kB / 1.418 GB, free: 7.629 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.9377, allocations: 72 kB / 1.418 GB, free: 7.559 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.939, allocations: 0.801 MB / 1.419 GB, free: 6.742 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.939, allocations: 7.875 kB / 1.419 GB, free: 6.734 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-05/0.9391, allocations: 31.98 kB / 1.419 GB, free: 6.703 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.9391, allocations: 16 kB / 1.419 GB, free: 6.688 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.9403, allocations: 0.6336 MB / 1.42 GB, free: 6.055 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004451/0.9447, allocations: 3.738 MB / 1.423 GB, free: 2.051 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.9462, allocations: 0.7362 MB / 1.424 GB, free: 1.301 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007492/0.947, allocations: 434 kB / 1.424 GB, free: 0.875 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 5.233e-05/0.9471, allocations: 16.53 kB / 1.424 GB, free: 0.8594 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007801/0.9478, allocations: 456 kB / 1.425 GB, free: 408 kB / 1.139 GB Notification: Performance of pre-optimization done (n=73): time 2.545e-06/0.9479, allocations: 0 / 1.425 GB, free: 408 kB / 1.139 GB Notification: Performance of matching and sorting (n=73): time 0.00401/0.9519, allocations: 1.839 MB / 1.427 GB, free: 14.51 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.9519, allocations: 64.06 kB / 1.427 GB, free: 14.43 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003089/0.955, allocations: 3.376 MB / 1.43 GB, free: 11.04 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 6.318e-05/0.9551, allocations: 41.7 kB / 1.43 GB, free: 10.99 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007238/0.9558, allocations: 0.9452 MB / 1.431 GB, free: 10.04 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.956, allocations: 238 kB / 1.431 GB, free: 9.809 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.9562, allocations: 138.6 kB / 1.431 GB, free: 9.664 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.9564, allocations: 341.9 kB / 1.432 GB, free: 9.324 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006442/0.957, allocations: 317.8 kB / 1.432 GB, free: 9.016 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007337/0.9577, allocations: 472 kB / 1.432 GB, free: 8.508 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.959, allocations: 0.7506 MB / 1.433 GB, free: 7.715 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.959, allocations: 4 kB / 1.433 GB, free: 7.711 MB / 1.154 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002229/0.9613, allocations: 1.26 MB / 1.434 GB, free: 6.438 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/0.9613, allocations: 8 kB / 1.434 GB, free: 6.43 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.9613, allocations: 4 kB / 1.434 GB, free: 6.426 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006963/0.962, allocations: 259.8 kB / 1.435 GB, free: 6.168 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005103/0.9625, allocations: 135.8 kB / 1.435 GB, free: 6.035 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004734/0.9673, allocations: 4.756 MB / 1.439 GB, free: 1 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006397/0.9679, allocations: 111.3 kB / 1.439 GB, free: 0.8906 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.858e-05/0.968, allocations: 24 kB / 1.439 GB, free: 0.8672 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,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 (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007701/0.9688, allocations: 0.6113 MB / 1.44 GB, free: 252 kB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/0.969, allocations: 226.4 kB / 1.44 GB, free: 24 kB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003631/0.9694, allocations: 265.2 kB / 1.44 GB, free: 15.76 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.9694, allocations: 4 kB / 1.44 GB, free: 15.75 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/0.9694, allocations: 7.938 kB / 1.44 GB, free: 15.75 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.9694, allocations: 3.984 kB / 1.441 GB, free: 15.74 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003589/0.973, allocations: 2.417 MB / 1.443 GB, free: 13.26 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.973, allocations: 0 / 1.443 GB, free: 13.26 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003195/0.9733, allocations: 75.89 kB / 1.443 GB, free: 13.18 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005927/0.9739, allocations: 249.5 kB / 1.443 GB, free: 12.93 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.116e-05/0.974, allocations: 23.98 kB / 1.443 GB, free: 12.91 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004448/0.9785, allocations: 4.741 MB / 1.448 GB, free: 7.895 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.9785, allocations: 3.938 kB / 1.448 GB, free: 7.891 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002623/0.9811, allocations: 1.643 MB / 1.449 GB, free: 6.227 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003911/0.9815, allocations: 335.4 kB / 1.45 GB, free: 5.879 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.9817, allocations: 20 kB / 1.45 GB, free: 5.859 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004322/0.9821, allocations: 39.95 kB / 1.45 GB, free: 5.82 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.9823, allocations: 68.56 kB / 1.45 GB, free: 5.754 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-05/0.9823, allocations: 23.98 kB / 1.45 GB, free: 5.73 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002379/0.9847, allocations: 2.48 MB / 1.452 GB, free: 3.238 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9847, allocations: 3.938 kB / 1.452 GB, free: 3.234 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009123/0.9856, allocations: 295.7 kB / 1.453 GB, free: 2.945 MB / 1.17 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.001103/0.9867, allocations: 0.4998 MB / 1.453 GB, free: 2.625 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002022/0.9888, allocations: 1.103 MB / 1.454 GB, free: 1.5 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.9888, allocations: 0 / 1.454 GB, free: 1.5 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.9898, allocations: 0.7106 MB / 1.455 GB, free: 0.7617 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.9913, allocations: 293.9 kB / 1.455 GB, free: 496 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005271/0.9965, allocations: 4.143 MB / 1.459 GB, free: 12.3 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001125/0.9977, allocations: 1.552 MB / 1.461 GB, free: 10.71 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0004205/0.9981, allocations: 174.5 kB / 1.461 GB, free: 10.54 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.9983, allocations: 75.36 kB / 1.461 GB, free: 10.47 MB / 1.186 GB Notification: Performance of SimCode: time 3.11e-07/0.9983, allocations: 0 / 1.461 GB, free: 10.47 MB / 1.186 GB Notification: Performance of Templates: time 0.0255/1.024, allocations: 15.28 MB / 1.476 GB, free: 11.34 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches