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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007152/0.007152, allocations: 102.9 kB / 15.73 MB, free: 6.035 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.002715/0.002715, allocations: 196.5 kB / 16.68 MB, free: 5.957 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.488/2.488, allocations: 461.9 MB / 0.7347 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001396, allocations: 59.91 kB / 1.054 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7418/0.7432, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1585/0.9018, allocations: 157.6 MB / 1.362 GB, free: 15.38 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02542/0.9272, allocations: 22.07 MB / 1.383 GB, free: 9.238 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002148/0.9294, allocations: 63.62 kB / 1.383 GB, free: 9.176 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002799/0.9323, allocations: 2.171 MB / 1.385 GB, free: 7 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002594/0.9349, allocations: 1.456 MB / 1.387 GB, free: 5.539 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.9367, allocations: 0.6185 MB / 1.387 GB, free: 4.926 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002897/0.9396, allocations: 1.957 MB / 1.389 GB, free: 2.961 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001652/0.9413, allocations: 1.119 MB / 1.39 GB, free: 1.82 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001741/0.943, allocations: 0.9308 MB / 1.391 GB, free: 0.8867 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002022/0.9451, allocations: 1.588 MB / 1.393 GB, free: 15.3 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002819/0.9454, allocations: 100 kB / 1.393 GB, free: 15.2 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004633/0.9458, allocations: 143.9 kB / 1.393 GB, free: 15.06 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005268/0.9464, allocations: 0.5472 MB / 1.394 GB, free: 14.52 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0009037/0.9473, allocations: 0.8107 MB / 1.394 GB, free: 13.7 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002151/0.9495, allocations: 1.936 MB / 1.396 GB, free: 11.76 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.9495, allocations: 4 kB / 1.396 GB, free: 11.75 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9495, allocations: 0 / 1.396 GB, free: 11.75 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.694e-05/0.9495, allocations: 0 / 1.396 GB, free: 11.75 MB / 1.123 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.003833/0.9534, allocations: 2.365 MB / 1.399 GB, free: 9.324 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.9534, allocations: 8.031 kB / 1.399 GB, free: 9.316 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003428/0.9538, allocations: 244.9 kB / 1.399 GB, free: 9.074 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.9554, allocations: 1.051 MB / 1.4 GB, free: 7.957 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.9555, allocations: 87.69 kB / 1.4 GB, free: 7.863 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.9556, allocations: 76 kB / 1.4 GB, free: 7.789 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.9571, allocations: 0.7893 MB / 1.401 GB, free: 6.988 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.9572, allocations: 3.906 kB / 1.401 GB, free: 6.984 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.114e-05/0.9572, allocations: 27.94 kB / 1.401 GB, free: 6.957 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.9573, allocations: 16 kB / 1.401 GB, free: 6.941 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.9586, allocations: 0.6453 MB / 1.401 GB, free: 6.297 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005476/0.9641, allocations: 3.729 MB / 1.405 GB, free: 2.301 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/0.9656, allocations: 0.7475 MB / 1.406 GB, free: 1.547 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008059/0.9665, allocations: 431.9 kB / 1.406 GB, free: 1.125 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 4.883e-05/0.9665, allocations: 16.55 kB / 1.406 GB, free: 1.109 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008231/0.9674, allocations: 451.9 kB / 1.407 GB, free: 0.6484 MB / 1.123 GB Notification: Performance of pre-optimization done (n=73): time 3.045e-06/0.9674, allocations: 0 / 1.407 GB, free: 0.6484 MB / 1.123 GB Notification: Performance of matching and sorting (n=73): time 0.004383/0.9718, allocations: 1.83 MB / 1.408 GB, free: 14.77 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.9718, allocations: 68 kB / 1.409 GB, free: 14.69 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003642/0.9755, allocations: 3.38 MB / 1.412 GB, free: 11.29 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.456e-05/0.9756, allocations: 45.64 kB / 1.412 GB, free: 11.24 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007757/0.9764, allocations: 0.933 MB / 1.413 GB, free: 10.3 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/0.9766, allocations: 232.8 kB / 1.413 GB, free: 10.07 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002175/0.9768, allocations: 138.7 kB / 1.413 GB, free: 9.926 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.9769, allocations: 334 kB / 1.413 GB, free: 9.594 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006981/0.9776, allocations: 325.8 kB / 1.414 GB, free: 9.277 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007783/0.9784, allocations: 464 kB / 1.414 GB, free: 8.777 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.9798, allocations: 0.7465 MB / 1.415 GB, free: 7.992 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.9798, allocations: 4 kB / 1.415 GB, free: 7.988 MB / 1.139 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002426/0.9822, allocations: 1.25 MB / 1.416 GB, free: 6.723 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.9823, allocations: 8 kB / 1.416 GB, free: 6.715 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.9823, allocations: 4 kB / 1.416 GB, free: 6.711 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000728/0.983, allocations: 265.5 kB / 1.416 GB, free: 6.445 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00054/0.9836, allocations: 131.8 kB / 1.417 GB, free: 6.316 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004856/0.9884, allocations: 4.752 MB / 1.421 GB, free: 1.289 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007217/0.9892, allocations: 99.3 kB / 1.421 GB, free: 1.191 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.466e-05/0.9892, allocations: 35.98 kB / 1.421 GB, free: 1.156 MB / 1.139 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.0008033/0.9901, allocations: 0.6068 MB / 1.422 GB, free: 0.5391 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.9903, allocations: 213.2 kB / 1.422 GB, free: 336 kB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004206/0.9908, allocations: 265.2 kB / 1.422 GB, free: 64 kB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.9908, allocations: 8 kB / 1.422 GB, free: 56 kB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.517e-05/0.9908, allocations: 7.938 kB / 1.422 GB, free: 48 kB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.9908, allocations: 3.984 kB / 1.422 GB, free: 44 kB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00419/0.995, allocations: 2.417 MB / 1.425 GB, free: 13.57 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.995, allocations: 3.938 kB / 1.425 GB, free: 13.56 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003418/0.9954, allocations: 79.89 kB / 1.425 GB, free: 13.48 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000641/0.996, allocations: 243.8 kB / 1.425 GB, free: 13.24 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.544e-05/0.9961, allocations: 15.98 kB / 1.425 GB, free: 13.23 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004882/1.001, allocations: 4.738 MB / 1.43 GB, free: 8.211 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/1.001, allocations: 4.094 kB / 1.43 GB, free: 8.207 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00313/1.004, allocations: 1.641 MB / 1.431 GB, free: 6.539 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006997/1.005, allocations: 314.3 kB / 1.432 GB, free: 6.211 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000291/1.005, allocations: 23.98 kB / 1.432 GB, free: 6.188 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005624/1.006, allocations: 35.97 kB / 1.432 GB, free: 6.152 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/1.006, allocations: 80.78 kB / 1.432 GB, free: 6.074 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.685e-05/1.006, allocations: 23.98 kB / 1.432 GB, free: 6.051 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002997/1.009, allocations: 2.468 MB / 1.434 GB, free: 3.57 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.8e-07/1.009, allocations: 0 / 1.434 GB, free: 3.57 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001059/1.01, allocations: 307.4 kB / 1.434 GB, free: 3.27 MB / 1.154 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.001154/1.011, allocations: 0.4907 MB / 1.435 GB, free: 2.957 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002266/1.014, allocations: 1.1 MB / 1.436 GB, free: 1.832 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/1.014, allocations: 0 / 1.436 GB, free: 1.832 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/1.015, allocations: 0.7066 MB / 1.437 GB, free: 1.094 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/1.016, allocations: 290.6 kB / 1.437 GB, free: 0.8164 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005847/1.022, allocations: 4.081 MB / 1.441 GB, free: 12.7 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001406/1.023, allocations: 1.56 MB / 1.443 GB, free: 11.11 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0005284/1.024, allocations: 162.7 kB / 1.443 GB, free: 10.95 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/1.024, allocations: 71.41 kB / 1.443 GB, free: 10.88 MB / 1.17 GB Notification: Performance of SimCode: time 5.91e-07/1.024, allocations: 0 / 1.443 GB, free: 10.88 MB / 1.17 GB Notification: Performance of Templates: time 0.02952/1.054, allocations: 15.66 MB / 1.458 GB, free: 11.39 MB / 1.186 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