Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,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.TestCase4") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,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.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001396/0.001396, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.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.356/2.356, allocations: 390.9 MB / 0.666 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004383/0.0004383, allocations: 12 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6369/0.6373, allocations: 142.4 MB / 0.9544 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1559/0.7933, allocations: 142.2 MB / 1.093 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0244/0.8177, allocations: 20.24 MB / 1.113 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001974/0.8197, allocations: 43.75 kB / 1.113 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.8212, allocations: 1.103 MB / 1.114 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.8225, allocations: 0.7786 MB / 1.115 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.8235, allocations: 334 kB / 1.115 GB, free: 10.42 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00132/0.8248, allocations: 1.185 MB / 1.116 GB, free: 9.227 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005998/0.8254, allocations: 0.4987 MB / 1.117 GB, free: 8.727 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005506/0.826, allocations: 478.4 kB / 1.117 GB, free: 8.258 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009077/0.8269, allocations: 0.7772 MB / 1.118 GB, free: 7.48 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.786e-05/0.827, allocations: 28 kB / 1.118 GB, free: 7.453 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.8272, allocations: 67.92 kB / 1.118 GB, free: 7.387 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002557/0.8275, allocations: 287 kB / 1.118 GB, free: 7.105 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001932/0.8277, allocations: 213 kB / 1.119 GB, free: 6.891 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0007988/0.8285, allocations: 0.8924 MB / 1.12 GB, free: 5.996 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8285, allocations: 4 kB / 1.12 GB, free: 5.992 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8285, allocations: 0 / 1.12 GB, free: 5.992 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.8285, allocations: 0 / 1.12 GB, free: 5.992 MB / 0.8731 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.001974/0.8305, allocations: 1.327 MB / 1.121 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.8306, allocations: 12.03 kB / 1.121 GB, free: 4.598 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/0.8308, allocations: 138.3 kB / 1.121 GB, free: 4.461 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007804/0.8315, allocations: 0.605 MB / 1.122 GB, free: 3.805 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/0.8317, allocations: 82.67 kB / 1.122 GB, free: 3.719 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.605e-05/0.8318, allocations: 48 kB / 1.122 GB, free: 3.672 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009373/0.8327, allocations: 0.5224 MB / 1.122 GB, free: 3.137 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.8328, allocations: 4 kB / 1.122 GB, free: 3.133 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.554e-05/0.8328, allocations: 16 kB / 1.122 GB, free: 3.117 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.8328, allocations: 11.95 kB / 1.122 GB, free: 3.105 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008529/0.8337, allocations: 431.7 kB / 1.123 GB, free: 2.684 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.003786/0.8375, allocations: 2.85 MB / 1.125 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.8386, allocations: 471.3 kB / 1.126 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00055/0.8391, allocations: 296.8 kB / 1.126 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 4.342e-05/0.8392, allocations: 8.312 kB / 1.126 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005843/0.8398, allocations: 302.7 kB / 1.126 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=45): time 2.945e-06/0.8398, allocations: 3.938 kB / 1.126 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of matching and sorting (n=45): time 0.002794/0.8426, allocations: 1.261 MB / 1.128 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.8426, allocations: 59.41 kB / 1.128 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/0.8446, allocations: 1.759 MB / 1.129 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.28e-05/0.8447, allocations: 33.7 kB / 1.129 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000604/0.8453, allocations: 0.5256 MB / 1.13 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/0.8455, allocations: 145.9 kB / 1.13 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.8455, allocations: 12 kB / 1.13 GB, free: 10.63 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001996/0.8457, allocations: 326 kB / 1.13 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000495/0.8462, allocations: 240.9 kB / 1.131 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005451/0.8468, allocations: 340.9 kB / 1.131 GB, free: 9.699 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005325/0.8473, allocations: 266.4 kB / 1.131 GB, free: 9.441 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.8474, allocations: 0 / 1.131 GB, free: 9.441 MB / 0.8887 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001712/0.8491, allocations: 0.8704 MB / 1.132 GB, free: 8.562 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.8491, allocations: 8 kB / 1.132 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.8491, allocations: 8.125 kB / 1.132 GB, free: 8.547 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005477/0.8497, allocations: 179.1 kB / 1.132 GB, free: 8.371 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003757/0.8501, allocations: 111.8 kB / 1.132 GB, free: 8.262 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003356/0.8534, allocations: 2.741 MB / 1.135 GB, free: 5.391 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005004/0.854, allocations: 95.45 kB / 1.135 GB, free: 5.297 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/0.854, allocations: 27.98 kB / 1.135 GB, free: 5.27 MB / 0.8887 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 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005823/0.8546, allocations: 387.1 kB / 1.136 GB, free: 4.883 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.8547, allocations: 118.5 kB / 1.136 GB, free: 4.766 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.855, allocations: 139.7 kB / 1.136 GB, free: 4.625 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.855, allocations: 4 kB / 1.136 GB, free: 4.621 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.855, allocations: 4 kB / 1.136 GB, free: 4.617 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.855, allocations: 3.984 kB / 1.136 GB, free: 4.613 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002521/0.8575, allocations: 1.59 MB / 1.137 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.8575, allocations: 0 / 1.137 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.8578, allocations: 51.91 kB / 1.137 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004918/0.8583, allocations: 193.6 kB / 1.138 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.037e-05/0.8583, allocations: 15.98 kB / 1.138 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004401/0.8627, allocations: 4.116 MB / 1.142 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.8628, allocations: 0 / 1.142 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00204/0.8648, allocations: 1.084 MB / 1.143 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003302/0.8652, allocations: 223.4 kB / 1.143 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.171e-05/0.8653, allocations: 15.98 kB / 1.143 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/0.8656, allocations: 47.92 kB / 1.143 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.8658, allocations: 55.84 kB / 1.143 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.337e-05/0.8658, allocations: 19.98 kB / 1.143 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001409/0.8672, allocations: 1.277 MB / 1.144 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8672, allocations: 0 / 1.144 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008792/0.8681, allocations: 207.7 kB / 1.145 GB, free: 11.35 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 13,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001236/0.8694, allocations: 494.7 kB / 1.145 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001603/0.871, allocations: 0.7427 MB / 1.146 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.871, allocations: 0 / 1.146 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009061/0.8719, allocations: 0.5563 MB / 1.146 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.8729, allocations: 178.4 kB / 1.146 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004327/0.8773, allocations: 2.671 MB / 1.149 GB, free: 6.84 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008995/0.8782, allocations: 1.153 MB / 1.15 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004225/0.8786, allocations: 96.7 kB / 1.15 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.8788, allocations: 39.44 kB / 1.15 GB, free: 5.52 MB / 0.9044 GB Notification: Performance of SimCode: time 1.252e-06/0.8788, allocations: 0 / 1.15 GB, free: 5.52 MB / 0.9044 GB Notification: Performance of Templates: time 0.02109/0.8999, allocations: 9.377 MB / 1.159 GB, free: 12.27 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches