Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=172800,variableFilter="time|mean.y|reference.y.1.|assEqu.diff|assEqu.threShold|assEqu.satisfied",fileNamePrefix="Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 103.9 kB / 16.35 MB, free: 5.875 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.001735/0.001735, allocations: 191 kB / 17.29 MB, free: 5.516 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.355/1.355, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.173/2.173, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 66.88 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2223, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.555/0.7773, allocations: 156.7 MB / 1.104 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02371/0.8011, allocations: 21.75 MB / 1.125 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002999/0.8041, allocations: 55.16 kB / 1.125 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001753/0.8059, allocations: 1.158 MB / 1.127 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.8077, allocations: 0.8652 MB / 1.127 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.809, allocations: 436.4 kB / 1.128 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0016/0.8106, allocations: 1.259 MB / 1.129 GB, free: 7.262 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008553/0.8114, allocations: 0.6771 MB / 1.13 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009137/0.8124, allocations: 0.5544 MB / 1.13 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.8136, allocations: 0.9156 MB / 1.131 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.8138, allocations: 67.94 kB / 1.131 GB, free: 7.215 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003038/0.8141, allocations: 107.1 kB / 1.131 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003399/0.8144, allocations: 326.2 kB / 1.132 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004325/0.8149, allocations: 487.3 kB / 1.132 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.8161, allocations: 1.201 MB / 1.133 GB, free: 6.746 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.8161, allocations: 0 / 1.133 GB, free: 6.746 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8161, allocations: 0 / 1.133 GB, free: 6.746 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.607e-05/0.8161, allocations: 1.031 kB / 1.133 GB, free: 6.746 MB / 0.8575 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.002573/0.8187, allocations: 1.479 MB / 1.135 GB, free: 21.87 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.8187, allocations: 9.438 kB / 1.135 GB, free: 21.87 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/0.8189, allocations: 135.5 kB / 1.135 GB, free: 21.8 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008517/0.8198, allocations: 0.6608 MB / 1.136 GB, free: 21.42 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.8199, allocations: 72.61 kB / 1.136 GB, free: 21.38 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.076e-05/0.82, allocations: 51.62 kB / 1.136 GB, free: 21.38 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008759/0.8209, allocations: 0.5206 MB / 1.136 GB, free: 21.31 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.8209, allocations: 0 / 1.136 GB, free: 21.31 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.61e-05/0.821, allocations: 19.42 kB / 1.136 GB, free: 21.31 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.821, allocations: 12.17 kB / 1.136 GB, free: 21.31 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008151/0.8218, allocations: 412 kB / 1.137 GB, free: 21.3 MB / 0.8731 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.003693/0.8255, allocations: 2.795 MB / 1.139 GB, free: 19.8 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009619/0.8265, allocations: 461 kB / 1.14 GB, free: 19.78 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005004/0.827, allocations: 287.9 kB / 1.14 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.296e-05/0.8271, allocations: 7.875 kB / 1.14 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005239/0.8276, allocations: 303.6 kB / 1.14 GB, free: 19.71 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=45): time 2.735e-06/0.8276, allocations: 0 / 1.14 GB, free: 19.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.002872/0.8305, allocations: 1.234 MB / 1.142 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.8305, allocations: 63.19 kB / 1.142 GB, free: 19.33 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002242/0.8328, allocations: 1.752 MB / 1.143 GB, free: 19.16 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.224e-05/0.8329, allocations: 41.33 kB / 1.143 GB, free: 19.12 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003647/0.8332, allocations: 0.519 MB / 1.144 GB, free: 18.72 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001081/0.8334, allocations: 146.7 kB / 1.144 GB, free: 18.61 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.8335, allocations: 95.31 kB / 1.144 GB, free: 18.56 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.8336, allocations: 329 kB / 1.144 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004377/0.8341, allocations: 220.1 kB / 1.145 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004967/0.8346, allocations: 328.3 kB / 1.145 GB, free: 18 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007952/0.8354, allocations: 0.512 MB / 1.145 GB, free: 17.74 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.8354, allocations: 2.094 kB / 1.145 GB, free: 17.74 MB / 0.8731 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001608/0.837, allocations: 0.8468 MB / 1.146 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.837, allocations: 7.625 kB / 1.146 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.8371, allocations: 2.688 kB / 1.146 GB, free: 17.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004976/0.8376, allocations: 183.3 kB / 1.146 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.8379, allocations: 92.22 kB / 1.147 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003248/0.8412, allocations: 3.012 MB / 1.149 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005424/0.8417, allocations: 73.98 kB / 1.15 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.909e-05/0.8418, allocations: 19.91 kB / 1.15 GB, free: 15.12 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 49 * 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 {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005984/0.8424, allocations: 383.7 kB / 1.15 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.8425, allocations: 120.7 kB / 1.15 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001953/0.8427, allocations: 137.2 kB / 1.15 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.8427, allocations: 8.938 kB / 1.15 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/0.8427, allocations: 3.125 kB / 1.15 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.8427, allocations: 4.906 kB / 1.15 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/0.8451, allocations: 1.564 MB / 1.152 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.8451, allocations: 0 / 1.152 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.8453, allocations: 49.14 kB / 1.152 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004755/0.8458, allocations: 194.4 kB / 1.152 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.264e-05/0.8459, allocations: 15.55 kB / 1.152 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004156/0.85, allocations: 4.559 MB / 1.156 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.8501, allocations: 2.438 kB / 1.156 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/0.8519, allocations: 1.061 MB / 1.157 GB, free: 9.727 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003317/0.8523, allocations: 214.4 kB / 1.158 GB, free: 9.547 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.505e-05/0.8524, allocations: 15.59 kB / 1.158 GB, free: 9.539 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/0.8527, allocations: 25.5 kB / 1.158 GB, free: 9.535 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.8528, allocations: 54.42 kB / 1.158 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-05/0.8529, allocations: 18.62 kB / 1.158 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001411/0.8543, allocations: 1.281 MB / 1.159 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8543, allocations: 0 / 1.159 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008787/0.8552, allocations: 204.6 kB / 1.159 GB, free: 9.051 MB / 0.8731 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,13,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.001107/0.8563, allocations: 484.5 kB / 1.16 GB, free: 8.863 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001449/0.8578, allocations: 0.7133 MB / 1.16 GB, free: 8.559 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.8578, allocations: 0.9375 kB / 1.16 GB, free: 8.559 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008511/0.8586, allocations: 0.5464 MB / 1.161 GB, free: 8.223 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.8597, allocations: 219.1 kB / 1.161 GB, free: 8.129 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003725/0.8634, allocations: 2.356 MB / 1.163 GB, free: 7.133 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007052/0.8641, allocations: 1.156 MB / 1.165 GB, free: 6.379 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003076/0.8644, allocations: 89.09 kB / 1.165 GB, free: 6.359 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.8646, allocations: 47.06 kB / 1.165 GB, free: 6.352 MB / 0.8731 GB Notification: Performance of SimCode: time 1.092e-06/0.8646, allocations: 0 / 1.165 GB, free: 6.352 MB / 0.8731 GB Notification: Performance of Templates: time 0.0184/0.883, allocations: 10.44 MB / 1.175 GB, free: 4.605 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches