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.001135/0.001135, allocations: 102.3 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.001125/0.001125, allocations: 198.3 kB / 17.3 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.175/1.175, 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.195/2.195, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 68.19 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2382/0.2393, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.5693/0.8086, allocations: 156.8 MB / 1.18 GB, free: 6.211 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0227/0.8314, allocations: 21.76 MB / 1.201 GB, free: 4.379 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001609/0.833, allocations: 55.44 kB / 1.201 GB, free: 4.359 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.8344, allocations: 1.164 MB / 1.202 GB, free: 3.746 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.8356, allocations: 0.8536 MB / 1.203 GB, free: 3.219 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009154/0.8366, allocations: 440.3 kB / 1.203 GB, free: 2.875 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001006/0.8376, allocations: 1.26 MB / 1.205 GB, free: 2.164 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006621/0.8383, allocations: 0.6826 MB / 1.205 GB, free: 1.738 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005707/0.8388, allocations: 0.5553 MB / 1.206 GB, free: 1.438 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008266/0.8397, allocations: 0.9169 MB / 1.207 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.434e-05/0.8398, allocations: 65.78 kB / 1.207 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.84, allocations: 109.2 kB / 1.207 GB, free: 1.008 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002407/0.8402, allocations: 314.8 kB / 1.207 GB, free: 0.8047 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000352/0.8406, allocations: 492 kB / 1.208 GB, free: 460 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009152/0.8415, allocations: 1.199 MB / 1.209 GB, free: 15.62 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.8415, allocations: 0 / 1.209 GB, free: 15.62 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8415, allocations: 0 / 1.209 GB, free: 15.62 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.8415, allocations: 0 / 1.209 GB, free: 15.62 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.00192/0.8435, allocations: 1.488 MB / 1.21 GB, free: 14.46 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.8435, allocations: 9.469 kB / 1.21 GB, free: 14.46 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.8436, allocations: 131 kB / 1.211 GB, free: 14.39 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007626/0.8444, allocations: 0.6636 MB / 1.211 GB, free: 13.83 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.8445, allocations: 76.06 kB / 1.211 GB, free: 13.78 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.386e-05/0.8446, allocations: 44.53 kB / 1.211 GB, free: 13.77 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008083/0.8454, allocations: 0.5167 MB / 1.212 GB, free: 13.44 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.8454, allocations: 2.094 kB / 1.212 GB, free: 13.44 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.179e-05/0.8455, allocations: 25.17 kB / 1.212 GB, free: 13.42 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.8455, allocations: 11.78 kB / 1.212 GB, free: 13.42 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007069/0.8462, allocations: 410.7 kB / 1.212 GB, free: 13.22 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.003076/0.8493, allocations: 2.719 MB / 1.215 GB, free: 10.87 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008268/0.8501, allocations: 446.6 kB / 1.215 GB, free: 10.64 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005386/0.8507, allocations: 297.2 kB / 1.216 GB, free: 10.5 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/0.8507, allocations: 4.672 kB / 1.216 GB, free: 10.5 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004664/0.8512, allocations: 286 kB / 1.216 GB, free: 10.31 MB / 0.92 GB Notification: Performance of pre-optimization done (n=44): time 2.004e-06/0.8512, allocations: 0 / 1.216 GB, free: 10.31 MB / 0.92 GB Notification: Performance of matching and sorting (n=44): time 0.002287/0.8535, allocations: 1.153 MB / 1.217 GB, free: 9.605 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.8536, allocations: 63 kB / 1.217 GB, free: 9.539 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.8551, allocations: 1.757 MB / 1.219 GB, free: 8.254 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.8552, allocations: 37.69 kB / 1.219 GB, free: 8.211 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/0.8556, allocations: 0.5326 MB / 1.219 GB, free: 7.676 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.8557, allocations: 142 kB / 1.219 GB, free: 7.535 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.8558, allocations: 98.25 kB / 1.22 GB, free: 7.434 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.8559, allocations: 334 kB / 1.22 GB, free: 7.102 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004194/0.8564, allocations: 209 kB / 1.22 GB, free: 6.898 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/0.8569, allocations: 335.1 kB / 1.22 GB, free: 6.523 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000795/0.8577, allocations: 0.5199 MB / 1.221 GB, free: 5.957 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.8577, allocations: 4 kB / 1.221 GB, free: 5.953 MB / 0.92 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001331/0.859, allocations: 0.8049 MB / 1.222 GB, free: 5.137 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.859, allocations: 12.16 kB / 1.222 GB, free: 5.125 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.8591, allocations: 8 kB / 1.222 GB, free: 5.117 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000372/0.8594, allocations: 136.7 kB / 1.222 GB, free: 4.98 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003283/0.8598, allocations: 99.88 kB / 1.222 GB, free: 4.883 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00256/0.8623, allocations: 2.604 MB / 1.224 GB, free: 2.145 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/0.8627, allocations: 71.55 kB / 1.225 GB, free: 2.074 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/0.8628, allocations: 28 kB / 1.225 GB, free: 2.047 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.0003962/0.8632, allocations: 387.3 kB / 1.225 GB, free: 1.66 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.8633, allocations: 114.5 kB / 1.225 GB, free: 1.547 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001945/0.8635, allocations: 147.7 kB / 1.225 GB, free: 1.402 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.8635, allocations: 4 kB / 1.225 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.8635, allocations: 0 / 1.225 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.8635, allocations: 7.984 kB / 1.225 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002158/0.8657, allocations: 1.497 MB / 1.227 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.8657, allocations: 0 / 1.227 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.8659, allocations: 39.97 kB / 1.227 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000358/0.8663, allocations: 169.5 kB / 1.227 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.375e-05/0.8663, allocations: 15.98 kB / 1.227 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003289/0.8696, allocations: 4.021 MB / 1.231 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.8696, allocations: 3.984 kB / 1.231 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.8712, allocations: 0.989 MB / 1.232 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002737/0.8714, allocations: 219.5 kB / 1.232 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.545e-05/0.8715, allocations: 15.98 kB / 1.232 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.8718, allocations: 27.97 kB / 1.232 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.8719, allocations: 55.86 kB / 1.232 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.872, allocations: 16 kB / 1.232 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001223/0.8732, allocations: 1.289 MB / 1.233 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8732, allocations: 0 / 1.233 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0006549/0.8739, allocations: 199.7 kB / 1.234 GB, free: 8.461 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.0009967/0.8749, allocations: 476.4 kB / 1.234 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001208/0.8761, allocations: 0.6685 MB / 1.235 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8761, allocations: 0 / 1.235 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007018/0.8768, allocations: 0.521 MB / 1.235 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008431/0.8777, allocations: 198.5 kB / 1.235 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003065/0.8807, allocations: 2.372 MB / 1.238 GB, free: 4.363 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006949/0.8815, allocations: 1.149 MB / 1.239 GB, free: 3.188 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002381/0.8817, allocations: 96.7 kB / 1.239 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.8818, allocations: 47.42 kB / 1.239 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/0.8818, allocations: 0 / 1.239 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of Templates: time 0.0157/0.8975, allocations: 10.03 MB / 1.249 GB, free: 9.141 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 cvode -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