Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.TestCase1,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.TestCase1") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,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.TestCase1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 102.4 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.001321/0.001321, 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.287/1.287, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.421/2.421, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 65.52 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2417, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.5678/0.8094, allocations: 156.8 MB / 1.18 GB, free: 6.164 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02299/0.8325, allocations: 21.76 MB / 1.201 GB, free: 4.332 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001612/0.8341, allocations: 49.38 kB / 1.201 GB, free: 4.316 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.8357, allocations: 1.168 MB / 1.202 GB, free: 3.699 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001202/0.8369, allocations: 0.855 MB / 1.203 GB, free: 3.172 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.8379, allocations: 440 kB / 1.203 GB, free: 2.828 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001022/0.8389, allocations: 1.256 MB / 1.205 GB, free: 2.121 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007013/0.8396, allocations: 0.6875 MB / 1.205 GB, free: 1.695 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005352/0.8402, allocations: 0.5449 MB / 1.206 GB, free: 1.406 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000843/0.841, allocations: 0.9162 MB / 1.207 GB, free: 0.9883 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.683e-05/0.8411, allocations: 65.44 kB / 1.207 GB, free: 0.9883 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002057/0.8413, allocations: 121.2 kB / 1.207 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002419/0.8416, allocations: 311.4 kB / 1.207 GB, free: 0.7656 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003594/0.8419, allocations: 495 kB / 1.208 GB, free: 416 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009251/0.8429, allocations: 1.195 MB / 1.209 GB, free: 15.58 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.8429, allocations: 0 / 1.209 GB, free: 15.58 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.212e-06/0.8429, allocations: 3.938 kB / 1.209 GB, free: 15.58 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.8429, allocations: 4 kB / 1.209 GB, free: 15.57 MB / 0.92 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.001981/0.8449, allocations: 1.476 MB / 1.21 GB, free: 14.42 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.8449, allocations: 9.594 kB / 1.21 GB, free: 14.42 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.8451, allocations: 130.9 kB / 1.211 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008368/0.846, allocations: 0.6634 MB / 1.211 GB, free: 13.8 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.8461, allocations: 80.38 kB / 1.211 GB, free: 13.74 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.687e-05/0.8462, allocations: 48.56 kB / 1.211 GB, free: 13.72 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000835/0.847, allocations: 0.516 MB / 1.212 GB, free: 13.4 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.847, allocations: 6.5 kB / 1.212 GB, free: 13.39 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.208e-05/0.8471, allocations: 16.81 kB / 1.212 GB, free: 13.38 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.407e-06/0.8471, allocations: 9.719 kB / 1.212 GB, free: 13.38 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007684/0.8479, allocations: 419.6 kB / 1.212 GB, free: 13.18 MB / 0.92 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.003149/0.851, allocations: 2.713 MB / 1.215 GB, free: 10.83 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008594/0.8519, allocations: 445.5 kB / 1.215 GB, free: 10.6 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005712/0.8525, allocations: 308.4 kB / 1.216 GB, free: 10.45 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.651e-05/0.8525, allocations: 6.641 kB / 1.216 GB, free: 10.45 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004929/0.853, allocations: 282.5 kB / 1.216 GB, free: 10.27 MB / 0.92 GB Notification: Performance of pre-optimization done (n=44): time 1.853e-06/0.853, allocations: 0 / 1.216 GB, free: 10.27 MB / 0.92 GB Notification: Performance of matching and sorting (n=44): time 0.002452/0.8555, allocations: 1.149 MB / 1.217 GB, free: 9.562 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.8556, allocations: 60.31 kB / 1.217 GB, free: 9.496 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/0.8572, allocations: 1.76 MB / 1.219 GB, free: 8.184 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/0.8572, allocations: 41.64 kB / 1.219 GB, free: 8.137 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003809/0.8576, allocations: 0.5249 MB / 1.219 GB, free: 7.609 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.8577, allocations: 146 kB / 1.219 GB, free: 7.465 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.8579, allocations: 98.23 kB / 1.22 GB, free: 7.363 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.746e-05/0.858, allocations: 330 kB / 1.22 GB, free: 7.035 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004514/0.8584, allocations: 213 kB / 1.22 GB, free: 6.828 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005112/0.859, allocations: 335.2 kB / 1.22 GB, free: 6.453 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008442/0.8598, allocations: 0.5199 MB / 1.221 GB, free: 5.887 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.8598, allocations: 0 / 1.221 GB, free: 5.887 MB / 0.92 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001429/0.8613, allocations: 0.8072 MB / 1.222 GB, free: 5.07 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.8613, allocations: 15.94 kB / 1.222 GB, free: 5.055 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.8613, allocations: 4 kB / 1.222 GB, free: 5.051 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003921/0.8617, allocations: 129.3 kB / 1.222 GB, free: 4.922 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.8621, allocations: 107.8 kB / 1.222 GB, free: 4.816 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002651/0.8647, allocations: 2.611 MB / 1.224 GB, free: 2.07 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004007/0.8652, allocations: 75.55 kB / 1.225 GB, free: 1.996 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-05/0.8652, allocations: 20 kB / 1.225 GB, free: 1.977 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004176/0.8656, allocations: 386.5 kB / 1.225 GB, free: 1.594 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.8658, allocations: 114.5 kB / 1.225 GB, free: 1.48 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002033/0.866, allocations: 147.7 kB / 1.225 GB, free: 1.336 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.866, allocations: 4 kB / 1.225 GB, free: 1.332 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.463e-06/0.866, allocations: 4 kB / 1.225 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.866, allocations: 4 kB / 1.225 GB, free: 1.324 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002208/0.8682, allocations: 1.493 MB / 1.227 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.8682, allocations: 3.984 kB / 1.227 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/0.8685, allocations: 43.91 kB / 1.227 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003728/0.8689, allocations: 169.6 kB / 1.227 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.8689, allocations: 8 kB / 1.227 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003418/0.8723, allocations: 4.021 MB / 1.231 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.8723, allocations: 4.062 kB / 1.231 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.8739, allocations: 1.001 MB / 1.232 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002711/0.8742, allocations: 215.4 kB / 1.232 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.948e-05/0.8743, allocations: 12 kB / 1.232 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/0.8746, allocations: 23.97 kB / 1.232 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.8748, allocations: 59.92 kB / 1.232 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.82e-05/0.8748, allocations: 15.98 kB / 1.232 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001231/0.8761, allocations: 1.293 MB / 1.233 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8761, allocations: 0 / 1.233 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006405/0.8767, allocations: 187.8 kB / 1.234 GB, free: 8.402 MB / 0.9356 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,12,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.001056/0.8778, allocations: 488.1 kB / 1.234 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001223/0.879, allocations: 0.6585 MB / 1.235 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.879, allocations: 0 / 1.235 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007461/0.8798, allocations: 0.5211 MB / 1.235 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008868/0.8807, allocations: 212.2 kB / 1.235 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003087/0.8838, allocations: 2.358 MB / 1.238 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006694/0.8845, allocations: 1.153 MB / 1.239 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002392/0.8847, allocations: 92.78 kB / 1.239 GB, free: 3.027 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.8848, allocations: 47.44 kB / 1.239 GB, free: 2.98 MB / 0.9356 GB Notification: Performance of SimCode: time 3.4e-07/0.8848, allocations: 0 / 1.239 GB, free: 2.98 MB / 0.9356 GB Notification: Performance of Templates: time 0.0172/0.902, allocations: 10.03 MB / 1.249 GB, free: 9.07 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.makefile (rm -f Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & ./Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches