Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001152/0.001152, allocations: 115.1 kB / 16.37 MB, free: 5.984 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.001137/0.001137, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.182/1.182, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.187/2.187, allocations: 437.1 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 63.45 kB / 0.8707 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.247, allocations: 151.6 MB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.5952/0.8422, allocations: 156.8 MB / 1.172 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02282/0.8651, allocations: 21.75 MB / 1.193 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001858/0.867, allocations: 54.94 kB / 1.193 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001439/0.8685, allocations: 1.16 MB / 1.194 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.8697, allocations: 0.8531 MB / 1.195 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.8708, allocations: 437.2 kB / 1.196 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001164/0.8719, allocations: 1.26 MB / 1.197 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008003/0.8727, allocations: 0.6824 MB / 1.197 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000701/0.8734, allocations: 0.552 MB / 1.198 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009393/0.8744, allocations: 0.9186 MB / 1.199 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.026e-05/0.8745, allocations: 65.72 kB / 1.199 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002366/0.8747, allocations: 114.3 kB / 1.199 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002661/0.875, allocations: 309.5 kB / 1.199 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004107/0.8754, allocations: 499.9 kB / 1.2 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009356/0.8764, allocations: 1.196 MB / 1.201 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.8764, allocations: 0 / 1.201 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.422e-06/0.8764, allocations: 0 / 1.201 GB, free: 9.633 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.8764, allocations: 2.125 kB / 1.201 GB, free: 9.633 MB / 0.9044 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.001953/0.8784, allocations: 1.482 MB / 1.202 GB, free: 8.473 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.8784, allocations: 14.33 kB / 1.202 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.8786, allocations: 131 kB / 1.203 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008049/0.8794, allocations: 0.66 MB / 1.203 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.8795, allocations: 71.84 kB / 1.203 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.416e-05/0.8796, allocations: 56.31 kB / 1.203 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000782/0.8804, allocations: 0.5219 MB / 1.204 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.8804, allocations: 0 / 1.204 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.939e-05/0.8804, allocations: 18.06 kB / 1.204 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.8805, allocations: 9.375 kB / 1.204 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007287/0.8812, allocations: 423.1 kB / 1.204 GB, free: 7.223 MB / 0.9044 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.00323/0.8844, allocations: 2.79 MB / 1.207 GB, free: 4.797 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008515/0.8853, allocations: 462.9 kB / 1.207 GB, free: 4.562 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004739/0.8858, allocations: 283.8 kB / 1.208 GB, free: 4.426 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/0.8858, allocations: 5.422 kB / 1.208 GB, free: 4.426 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004696/0.8863, allocations: 295.6 kB / 1.208 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=45): time 1.763e-06/0.8863, allocations: 2.219 kB / 1.208 GB, free: 4.238 MB / 0.9044 GB Notification: Performance of matching and sorting (n=45): time 0.002543/0.8889, allocations: 1.24 MB / 1.209 GB, free: 3.484 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.8889, allocations: 64.42 kB / 1.209 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/0.8904, allocations: 1.749 MB / 1.211 GB, free: 2.625 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.8904, allocations: 38.77 kB / 1.211 GB, free: 2.586 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/0.8908, allocations: 0.522 MB / 1.212 GB, free: 2.133 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.896e-05/0.8909, allocations: 146.4 kB / 1.212 GB, free: 2.008 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.891, allocations: 94.69 kB / 1.212 GB, free: 1.949 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.8911, allocations: 330.9 kB / 1.212 GB, free: 1.625 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/0.8915, allocations: 222.1 kB / 1.212 GB, free: 1.52 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004797/0.892, allocations: 327.7 kB / 1.213 GB, free: 1.289 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000761/0.8928, allocations: 0.5049 MB / 1.213 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.8928, allocations: 3.219 kB / 1.213 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001387/0.8942, allocations: 0.8391 MB / 1.214 GB, free: 460 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.8942, allocations: 12.22 kB / 1.214 GB, free: 448 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.8942, allocations: 4 kB / 1.214 GB, free: 444 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004503/0.8947, allocations: 188.6 kB / 1.214 GB, free: 252 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.895, allocations: 91.81 kB / 1.214 GB, free: 160 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003086/0.8981, allocations: 3.001 MB / 1.217 GB, free: 13.02 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/0.8985, allocations: 79.55 kB / 1.217 GB, free: 12.94 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.8985, allocations: 16 kB / 1.217 GB, free: 12.93 MB / 0.92 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.0003982/0.8989, allocations: 383.3 kB / 1.218 GB, free: 12.54 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.8991, allocations: 122.4 kB / 1.218 GB, free: 12.42 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001919/0.8993, allocations: 139.7 kB / 1.218 GB, free: 12.28 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.8993, allocations: 7.984 kB / 1.218 GB, free: 12.27 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.8993, allocations: 4 kB / 1.218 GB, free: 12.27 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.8993, allocations: 0 / 1.218 GB, free: 12.27 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/0.9015, allocations: 1.568 MB / 1.219 GB, free: 10.64 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.9015, allocations: 0 / 1.219 GB, free: 10.64 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002095/0.9017, allocations: 43.97 kB / 1.219 GB, free: 10.6 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004164/0.9021, allocations: 194.1 kB / 1.22 GB, free: 10.41 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.9022, allocations: 11.98 kB / 1.22 GB, free: 10.39 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003814/0.906, allocations: 4.568 MB / 1.224 GB, free: 5.551 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.906, allocations: 0 / 1.224 GB, free: 5.551 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.9076, allocations: 1.066 MB / 1.225 GB, free: 4.465 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002651/0.9079, allocations: 211.6 kB / 1.225 GB, free: 4.238 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.205e-05/0.908, allocations: 12 kB / 1.225 GB, free: 4.227 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002879/0.9082, allocations: 31.97 kB / 1.225 GB, free: 4.195 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.9084, allocations: 51.92 kB / 1.225 GB, free: 4.145 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.529e-05/0.9084, allocations: 15.98 kB / 1.225 GB, free: 4.129 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001169/0.9096, allocations: 1.281 MB / 1.227 GB, free: 2.844 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9096, allocations: 4 kB / 1.227 GB, free: 2.84 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0006634/0.9103, allocations: 195.7 kB / 1.227 GB, free: 2.648 MB / 0.92 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.001003/0.9113, allocations: 481.4 kB / 1.227 GB, free: 2.355 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001313/0.9126, allocations: 0.727 MB / 1.228 GB, free: 1.613 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9126, allocations: 4 kB / 1.228 GB, free: 1.609 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0007724/0.9134, allocations: 0.5478 MB / 1.229 GB, free: 1.035 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008327/0.9142, allocations: 218.7 kB / 1.229 GB, free: 0.832 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00297/0.9172, allocations: 2.353 MB / 1.231 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006481/0.9179, allocations: 1.153 MB / 1.232 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002181/0.9181, allocations: 92.73 kB / 1.232 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.9182, allocations: 47.42 kB / 1.232 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.9182, allocations: 0 / 1.232 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of Templates: time 0.01646/0.9347, allocations: 10.45 MB / 1.243 GB, free: 2.809 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches