Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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.TestCase7,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.TestCase7") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,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.TestCase7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008351/0.000835, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009777/0.0009777, allocations: 173 kB / 16.92 MB, free: 6.652 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.374/1.374, allocations: 223.3 MB / 241 MB, free: 5.32 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.527/2.527, allocations: 390.9 MB / 0.667 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003605, allocations: 8 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7405/0.7409, allocations: 142.4 MB / 0.9557 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.1805/0.9215, allocations: 153.4 MB / 1.106 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02837/0.9499, allocations: 21.76 MB / 1.127 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002872/0.9528, allocations: 59.62 kB / 1.127 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002151/0.955, allocations: 1.337 MB / 1.128 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002346/0.9573, allocations: 0.9694 MB / 1.129 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.9593, allocations: 0.5631 MB / 1.13 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002693/0.962, allocations: 1.766 MB / 1.131 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001571/0.9636, allocations: 0.8436 MB / 1.132 GB, free: 9.996 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.965, allocations: 0.6187 MB / 1.133 GB, free: 9.375 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/0.9667, allocations: 1.132 MB / 1.134 GB, free: 8.242 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002373/0.9669, allocations: 39.98 kB / 1.134 GB, free: 8.203 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005282/0.9675, allocations: 83.97 kB / 1.134 GB, free: 8.121 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004075/0.9679, allocations: 372.3 kB / 1.134 GB, free: 7.758 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008209/0.9687, allocations: 0.6106 MB / 1.135 GB, free: 7.137 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.9701, allocations: 1.177 MB / 1.136 GB, free: 5.957 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.9701, allocations: 4 kB / 1.136 GB, free: 5.953 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.305e-06/0.9701, allocations: 0 / 1.136 GB, free: 5.953 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.664e-05/0.9702, allocations: 0 / 1.136 GB, free: 5.953 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.003446/0.9737, allocations: 1.686 MB / 1.138 GB, free: 4.211 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.9737, allocations: 8.031 kB / 1.138 GB, free: 4.203 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004394/0.9742, allocations: 190.7 kB / 1.138 GB, free: 4.016 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.9757, allocations: 0.8709 MB / 1.139 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.9759, allocations: 98.92 kB / 1.139 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.976, allocations: 64 kB / 1.139 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.9775, allocations: 0.7333 MB / 1.14 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.9775, allocations: 3.938 kB / 1.14 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.486e-05/0.9776, allocations: 24 kB / 1.14 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.9776, allocations: 12 kB / 1.14 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001256/0.9789, allocations: 0.5672 MB / 1.14 GB, free: 1.559 MB / 0.8887 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.005124/0.984, allocations: 3.671 MB / 1.144 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.9854, allocations: 0.6366 MB / 1.144 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000748/0.9862, allocations: 386.3 kB / 1.145 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.055e-05/0.9863, allocations: 8.562 kB / 1.145 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007673/0.987, allocations: 390.8 kB / 1.145 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=65): time 2.795e-06/0.987, allocations: 0 / 1.145 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=65): time 0.005293/0.9923, allocations: 1.831 MB / 1.147 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.9924, allocations: 59.97 kB / 1.147 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002797/0.9952, allocations: 2.259 MB / 1.149 GB, free: 7.965 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.059e-05/0.9953, allocations: 41.7 kB / 1.149 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006891/0.996, allocations: 0.7187 MB / 1.15 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002456/0.9963, allocations: 217 kB / 1.15 GB, free: 6.98 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.9964, allocations: 65.69 kB / 1.15 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.9965, allocations: 337.9 kB / 1.151 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006888/0.9972, allocations: 289.8 kB / 1.151 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007587/0.998, allocations: 440.8 kB / 1.151 GB, free: 5.805 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.9994, allocations: 0.6925 MB / 1.152 GB, free: 5.062 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.9994, allocations: 0 / 1.152 GB, free: 5.062 MB / 0.9044 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002577/1.002, allocations: 1.155 MB / 1.153 GB, free: 3.898 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/1.002, allocations: 8.781 kB / 1.153 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/1.002, allocations: 4 kB / 1.153 GB, free: 3.887 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008817/1.003, allocations: 275.9 kB / 1.153 GB, free: 3.617 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004645/1.003, allocations: 135.7 kB / 1.154 GB, free: 3.484 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005575/1.009, allocations: 3.44 MB / 1.157 GB, free: 15.91 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007842/1.01, allocations: 115.3 kB / 1.157 GB, free: 15.8 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.364e-05/1.01, allocations: 24 kB / 1.157 GB, free: 15.78 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0007605/1.011, allocations: 467.8 kB / 1.157 GB, free: 15.31 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003051/1.011, allocations: 161.9 kB / 1.158 GB, free: 15.15 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004643/1.011, allocations: 187.7 kB / 1.158 GB, free: 14.96 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/1.011, allocations: 12 kB / 1.158 GB, free: 14.95 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/1.011, allocations: 0 / 1.158 GB, free: 14.95 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/1.011, allocations: 3.984 kB / 1.158 GB, free: 14.95 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003947/1.015, allocations: 2.064 MB / 1.16 GB, free: 12.82 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/1.015, allocations: 0 / 1.16 GB, free: 12.82 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003109/1.016, allocations: 67.95 kB / 1.16 GB, free: 12.75 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008114/1.017, allocations: 274.3 kB / 1.16 GB, free: 12.48 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-05/1.017, allocations: 27.92 kB / 1.16 GB, free: 12.45 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006142/1.023, allocations: 4.764 MB / 1.165 GB, free: 7.422 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.023, allocations: 3.984 kB / 1.165 GB, free: 7.418 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002795/1.026, allocations: 1.42 MB / 1.166 GB, free: 5.977 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004565/1.026, allocations: 278.9 kB / 1.166 GB, free: 5.684 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/1.026, allocations: 19.98 kB / 1.167 GB, free: 5.664 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005044/1.027, allocations: 43.95 kB / 1.167 GB, free: 5.621 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/1.027, allocations: 68.47 kB / 1.167 GB, free: 5.555 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.545e-05/1.027, allocations: 23.98 kB / 1.167 GB, free: 5.531 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002018/1.029, allocations: 1.635 MB / 1.168 GB, free: 3.902 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/1.029, allocations: 0 / 1.168 GB, free: 3.902 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001058/1.03, allocations: 276.2 kB / 1.169 GB, free: 3.633 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001222/1.031, allocations: 0.4936 MB / 1.169 GB, free: 3.32 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002115/1.034, allocations: 0.9281 MB / 1.17 GB, free: 2.383 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.034, allocations: 0 / 1.17 GB, free: 2.383 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.00119/1.035, allocations: 0.687 MB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/1.036, allocations: 259.5 kB / 1.171 GB, free: 1.418 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005628/1.042, allocations: 3.705 MB / 1.174 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/1.043, allocations: 1.307 MB / 1.176 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/1.043, allocations: 55.44 kB / 1.176 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of SimCode: time 6.91e-07/1.043, allocations: 0 / 1.176 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of Templates: time 0.0359/1.079, allocations: 23.37 MB / 1.199 GB, free: 4.957 MB / 0.9512 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mean.y,reference.y[1],assEqu.diff,assEqu.threShold,assEqu.satisfied Variables in the result:assEqu.diff,assEqu.satisfied,assEqu.threShold,mean.y,reference.y[1],time