Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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.TestCase7,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.TestCase7") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,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.TestCase7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.001629, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001855/0.001855, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.533/2.533, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.89 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.77/0.7712, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.1697/0.941, allocations: 157.9 MB / 1.363 GB, free: 15.13 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02575/0.9668, allocations: 22.12 MB / 1.384 GB, free: 8.938 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002125/0.969, allocations: 67.62 kB / 1.384 GB, free: 8.871 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001951/0.971, allocations: 1.387 MB / 1.386 GB, free: 7.48 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001922/0.9729, allocations: 1.02 MB / 1.387 GB, free: 6.457 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001717/0.9746, allocations: 0.6421 MB / 1.387 GB, free: 5.82 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002007/0.9767, allocations: 1.696 MB / 1.389 GB, free: 4.117 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001559/0.9782, allocations: 0.9666 MB / 1.39 GB, free: 3.133 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001245/0.9795, allocations: 0.7358 MB / 1.391 GB, free: 2.395 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001528/0.981, allocations: 1.195 MB / 1.392 GB, free: 1.199 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002044/0.9813, allocations: 92 kB / 1.392 GB, free: 1.109 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003884/0.9816, allocations: 139.9 kB / 1.392 GB, free: 0.9727 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003362/0.982, allocations: 416.3 kB / 1.392 GB, free: 0.5664 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005488/0.9825, allocations: 0.6482 MB / 1.393 GB, free: 15.91 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001552/0.9841, allocations: 1.609 MB / 1.395 GB, free: 14.3 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.9841, allocations: 4 kB / 1.395 GB, free: 14.3 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9841, allocations: 0 / 1.395 GB, free: 14.3 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.862e-05/0.9842, allocations: 0 / 1.395 GB, free: 14.3 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002868/0.987, allocations: 1.911 MB / 1.396 GB, free: 12.32 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.9871, allocations: 8.031 kB / 1.396 GB, free: 12.32 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002871/0.9874, allocations: 186.6 kB / 1.397 GB, free: 12.13 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/0.9886, allocations: 0.8905 MB / 1.397 GB, free: 11.2 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.9887, allocations: 83 kB / 1.398 GB, free: 11.11 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.9888, allocations: 71.98 kB / 1.398 GB, free: 11.04 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.9901, allocations: 0.7176 MB / 1.398 GB, free: 10.29 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.9901, allocations: 4 kB / 1.398 GB, free: 10.29 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.138e-05/0.9902, allocations: 24 kB / 1.398 GB, free: 10.27 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.9902, allocations: 16 kB / 1.398 GB, free: 10.25 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.9914, allocations: 0.5476 MB / 1.399 GB, free: 9.703 MB / 1.123 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.004379/0.9958, allocations: 3.613 MB / 1.402 GB, free: 5.809 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.9971, allocations: 0.6088 MB / 1.403 GB, free: 5.191 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007147/0.9978, allocations: 377.3 kB / 1.403 GB, free: 4.824 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 4.466e-05/0.9979, allocations: 4.562 kB / 1.403 GB, free: 4.82 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007281/0.9986, allocations: 386.9 kB / 1.404 GB, free: 4.43 MB / 1.123 GB Notification: Performance of pre-optimization done (n=65): time 2.655e-06/0.9986, allocations: 0 / 1.404 GB, free: 4.43 MB / 1.123 GB Notification: Performance of matching and sorting (n=65): time 0.00505/1.004, allocations: 1.777 MB / 1.405 GB, free: 2.602 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/1.004, allocations: 63.97 kB / 1.406 GB, free: 2.527 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002355/1.006, allocations: 2.262 MB / 1.408 GB, free: 264 kB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.817e-05/1.006, allocations: 41.7 kB / 1.408 GB, free: 216 kB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005343/1.007, allocations: 0.7109 MB / 1.408 GB, free: 15.49 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/1.007, allocations: 216.9 kB / 1.409 GB, free: 15.28 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/1.007, allocations: 130.7 kB / 1.409 GB, free: 15.14 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001194/1.007, allocations: 338 kB / 1.409 GB, free: 14.81 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006364/1.008, allocations: 281.8 kB / 1.409 GB, free: 14.53 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006988/1.009, allocations: 424.8 kB / 1.41 GB, free: 14.07 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/1.01, allocations: 0.6614 MB / 1.41 GB, free: 13.36 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.01, allocations: 0 / 1.41 GB, free: 13.36 MB / 1.139 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002389/1.012, allocations: 1.116 MB / 1.412 GB, free: 12.23 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/1.012, allocations: 12.22 kB / 1.412 GB, free: 12.22 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/1.012, allocations: 4 kB / 1.412 GB, free: 12.21 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008671/1.013, allocations: 269.3 kB / 1.412 GB, free: 11.95 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/1.014, allocations: 123.8 kB / 1.412 GB, free: 11.83 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005143/1.019, allocations: 3.704 MB / 1.416 GB, free: 8 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006596/1.02, allocations: 83.39 kB / 1.416 GB, free: 7.918 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.161e-05/1.02, allocations: 36 kB / 1.416 GB, free: 7.883 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0006221/1.02, allocations: 455.8 kB / 1.416 GB, free: 7.43 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/1.02, allocations: 157.9 kB / 1.416 GB, free: 7.273 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/1.021, allocations: 191.7 kB / 1.416 GB, free: 7.078 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/1.021, allocations: 8 kB / 1.416 GB, free: 7.07 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/1.021, allocations: 3.938 kB / 1.416 GB, free: 7.066 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/1.021, allocations: 3.984 kB / 1.416 GB, free: 7.062 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00326/1.024, allocations: 2.038 MB / 1.418 GB, free: 4.957 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.024, allocations: 3.938 kB / 1.418 GB, free: 4.953 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/1.024, allocations: 55.97 kB / 1.418 GB, free: 4.898 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007511/1.025, allocations: 281.4 kB / 1.419 GB, free: 4.617 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.427e-05/1.025, allocations: 15.98 kB / 1.419 GB, free: 4.602 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005641/1.031, allocations: 5.235 MB / 1.424 GB, free: 15.09 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.031, allocations: 4.031 kB / 1.424 GB, free: 15.09 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002568/1.033, allocations: 1.402 MB / 1.425 GB, free: 13.66 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003151/1.034, allocations: 267 kB / 1.426 GB, free: 13.38 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/1.034, allocations: 20 kB / 1.426 GB, free: 13.36 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004114/1.034, allocations: 35.95 kB / 1.426 GB, free: 13.33 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/1.034, allocations: 64.47 kB / 1.426 GB, free: 13.26 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-05/1.034, allocations: 23.98 kB / 1.426 GB, free: 13.24 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001642/1.036, allocations: 1.631 MB / 1.427 GB, free: 11.61 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.342e-06/1.036, allocations: 0 / 1.427 GB, free: 11.61 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009222/1.037, allocations: 279.4 kB / 1.428 GB, free: 11.34 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001111/1.038, allocations: 484.7 kB / 1.428 GB, free: 11.04 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001879/1.04, allocations: 0.9108 MB / 1.429 GB, free: 10.11 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.04, allocations: 0 / 1.429 GB, free: 10.11 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001109/1.041, allocations: 0.6714 MB / 1.43 GB, free: 9.418 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/1.043, allocations: 273.1 kB / 1.43 GB, free: 9.16 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004402/1.047, allocations: 3.157 MB / 1.433 GB, free: 5.969 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008659/1.048, allocations: 1.307 MB / 1.434 GB, free: 4.633 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/1.048, allocations: 63.42 kB / 1.434 GB, free: 4.57 MB / 1.154 GB Notification: Performance of SimCode: time 4.91e-07/1.048, allocations: 4 kB / 1.434 GB, free: 4.566 MB / 1.154 GB Notification: Performance of Templates: time 0.02881/1.077, allocations: 23.74 MB / 1.457 GB, free: 12.87 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mean.y,reference.y[1],assEqu.diff,assEqu.threShold,assEqu.satisfied Variables in the result:assEqu.diff,assEqu.satisfied,assEqu.threShold,mean.y,reference.y[1],time