Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,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.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,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.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 105.9 kB / 16.37 MB, free: 6.453 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.001775/0.001775, allocations: 192.9 kB / 17.31 MB, free: 5.816 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.174/2.174, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 62.02 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.218, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.5753/0.7934, allocations: 157 MB / 1.104 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02351/0.817, allocations: 21.87 MB / 1.126 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002279/0.8193, allocations: 58.12 kB / 1.126 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001816/0.8211, allocations: 1.341 MB / 1.127 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001575/0.8227, allocations: 0.9684 MB / 1.128 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.824, allocations: 0.5081 MB / 1.129 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001501/0.8255, allocations: 1.434 MB / 1.13 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009931/0.8265, allocations: 0.7833 MB / 1.131 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008996/0.8275, allocations: 0.6452 MB / 1.131 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.8287, allocations: 1.109 MB / 1.133 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.8289, allocations: 71.66 kB / 1.133 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.8292, allocations: 122.5 kB / 1.133 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002638/0.8295, allocations: 363.6 kB / 1.133 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004081/0.8299, allocations: 0.5618 MB / 1.134 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.831, allocations: 1.363 MB / 1.135 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.831, allocations: 0 / 1.135 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.412e-06/0.831, allocations: 0.8438 kB / 1.135 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.831, allocations: 1.219 kB / 1.135 GB, free: 6.148 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00245/0.8335, allocations: 1.684 MB / 1.137 GB, free: 21.17 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.8335, allocations: 15.44 kB / 1.137 GB, free: 21.17 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000252/0.8338, allocations: 163.9 kB / 1.137 GB, free: 21.08 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009065/0.8347, allocations: 0.7478 MB / 1.137 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.8348, allocations: 78.77 kB / 1.138 GB, free: 20.63 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.122e-05/0.8349, allocations: 53.78 kB / 1.138 GB, free: 20.63 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000932/0.8358, allocations: 0.5723 MB / 1.138 GB, free: 20.56 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.8359, allocations: 1.469 kB / 1.138 GB, free: 20.56 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/0.8359, allocations: 19.97 kB / 1.138 GB, free: 20.56 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.8359, allocations: 11.75 kB / 1.138 GB, free: 20.56 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008141/0.8368, allocations: 446.7 kB / 1.139 GB, free: 20.56 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.003475/0.8402, allocations: 3.003 MB / 1.142 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009672/0.8412, allocations: 498.7 kB / 1.142 GB, free: 18.95 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005338/0.8418, allocations: 319.6 kB / 1.142 GB, free: 18.93 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.467e-05/0.8418, allocations: 9.406 kB / 1.142 GB, free: 18.93 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005417/0.8424, allocations: 331.6 kB / 1.143 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=52): time 2.735e-06/0.8424, allocations: 0.875 kB / 1.143 GB, free: 18.88 MB / 0.8731 GB Notification: Performance of matching and sorting (n=52): time 0.002904/0.8453, allocations: 1.349 MB / 1.144 GB, free: 18.54 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.8453, allocations: 60.89 kB / 1.144 GB, free: 18.48 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002155/0.8475, allocations: 2.111 MB / 1.146 GB, free: 18.16 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.868e-05/0.8476, allocations: 45.78 kB / 1.146 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.8479, allocations: 0.6227 MB / 1.147 GB, free: 17.63 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.691e-05/0.848, allocations: 168.9 kB / 1.147 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.8482, allocations: 104 kB / 1.147 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.8483, allocations: 331.7 kB / 1.147 GB, free: 17.13 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000457/0.8488, allocations: 236.5 kB / 1.148 GB, free: 17.06 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004802/0.8493, allocations: 347.5 kB / 1.148 GB, free: 16.87 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000821/0.8501, allocations: 0.5491 MB / 1.148 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.8501, allocations: 0.8438 kB / 1.148 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001558/0.8517, allocations: 0.916 MB / 1.149 GB, free: 16.26 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.8517, allocations: 7.344 kB / 1.149 GB, free: 16.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.8517, allocations: 3.25 kB / 1.149 GB, free: 16.26 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004863/0.8522, allocations: 192.6 kB / 1.15 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003723/0.8526, allocations: 105.9 kB / 1.15 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003282/0.8559, allocations: 3.053 MB / 1.153 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004749/0.8564, allocations: 74.5 kB / 1.153 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.593e-05/0.8564, allocations: 21.97 kB / 1.153 GB, free: 13.94 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005437/0.857, allocations: 441.5 kB / 1.153 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.8571, allocations: 137.9 kB / 1.153 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.8574, allocations: 166.3 kB / 1.153 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.8574, allocations: 7.203 kB / 1.153 GB, free: 13.58 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/0.8574, allocations: 16.28 kB / 1.153 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.8574, allocations: 3.938 kB / 1.153 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002594/0.86, allocations: 1.733 MB / 1.155 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.86, allocations: 0.9062 kB / 1.155 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.8603, allocations: 52.97 kB / 1.155 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004878/0.8608, allocations: 197.3 kB / 1.155 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.19e-05/0.8608, allocations: 16.27 kB / 1.155 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004022/0.8648, allocations: 4.605 MB / 1.16 GB, free: 8.918 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8649, allocations: 0 / 1.16 GB, free: 8.918 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.8668, allocations: 1.17 MB / 1.161 GB, free: 8.387 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003738/0.8672, allocations: 243.6 kB / 1.161 GB, free: 8.188 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.8673, allocations: 16.27 kB / 1.161 GB, free: 8.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003567/0.8677, allocations: 29.31 kB / 1.161 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.8678, allocations: 60.3 kB / 1.161 GB, free: 8.164 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.651e-05/0.8679, allocations: 24.09 kB / 1.161 GB, free: 8.156 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00175/0.8696, allocations: 1.546 MB / 1.163 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8697, allocations: 0 / 1.163 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008537/0.8705, allocations: 222.3 kB / 1.163 GB, free: 7.613 MB / 0.8731 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: 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 (34): * Single equations (assignments): 24 * 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): 2 systems {(2,14,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.001093/0.8716, allocations: 495.3 kB / 1.164 GB, free: 7.41 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001536/0.8732, allocations: 0.7541 MB / 1.164 GB, free: 7.098 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8732, allocations: 0 / 1.164 GB, free: 7.098 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008958/0.8741, allocations: 0.5865 MB / 1.165 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.8752, allocations: 227.2 kB / 1.165 GB, free: 6.66 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004025/0.8792, allocations: 2.777 MB / 1.168 GB, free: 5.512 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008725/0.8801, allocations: 1.248 MB / 1.169 GB, free: 4.746 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000291/0.8804, allocations: 92.42 kB / 1.169 GB, free: 4.734 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.8805, allocations: 54.78 kB / 1.169 GB, free: 4.723 MB / 0.8731 GB Notification: Performance of SimCode: time 7.01e-07/0.8805, allocations: 0 / 1.169 GB, free: 4.723 MB / 0.8731 GB Notification: Performance of Templates: time 0.02061/0.9011, allocations: 11.45 MB / 1.18 GB, free: 1.75 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches