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.001239/0.001239, allocations: 98.44 kB / 15.05 MB, free: 1.105 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.001693/0.001693, allocations: 177.3 kB / 15.95 MB, free: 216 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.418/1.418, allocations: 223.2 MB / 239.9 MB, free: 5.434 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.34/2.34, allocations: 390.3 MB / 0.6653 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003556/0.0003556, allocations: 12 kB / 0.8145 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6515/0.6518, allocations: 142.3 MB / 0.9535 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1472/0.7991, allocations: 132.5 MB / 1.083 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02323/0.8224, allocations: 18.36 MB / 1.101 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001656/0.8241, allocations: 43.75 kB / 1.101 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002315/0.8264, allocations: 1.367 MB / 1.102 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005061/0.8315, allocations: 1.851 MB / 1.104 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002943/0.8344, allocations: 1.047 MB / 1.105 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001286/0.8357, allocations: 0.8784 MB / 1.106 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005857/0.8363, allocations: 0.4988 MB / 1.106 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004957/0.8368, allocations: 458.5 kB / 1.107 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008119/0.8376, allocations: 0.7013 MB / 1.108 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.555e-05/0.8377, allocations: 28 kB / 1.108 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.8379, allocations: 55.98 kB / 1.108 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002322/0.8381, allocations: 279.1 kB / 1.108 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.8383, allocations: 209 kB / 1.108 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007453/0.8391, allocations: 0.8982 MB / 1.109 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.8391, allocations: 4 kB / 1.109 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8391, allocations: 0 / 1.109 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.8391, allocations: 0 / 1.109 GB, free: 0.5898 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001976/0.8411, allocations: 1.331 MB / 1.11 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.8411, allocations: 8.031 kB / 1.11 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.8413, allocations: 138.3 kB / 1.11 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008388/0.8421, allocations: 0.6012 MB / 1.111 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.8423, allocations: 82.69 kB / 1.111 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-05/0.8424, allocations: 47.91 kB / 1.111 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008827/0.8432, allocations: 0.5145 MB / 1.112 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.8433, allocations: 7.938 kB / 1.112 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.527e-05/0.8433, allocations: 20 kB / 1.112 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.8433, allocations: 15.95 kB / 1.112 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008226/0.8442, allocations: 427.7 kB / 1.112 GB, free: 13.29 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.003462/0.8476, allocations: 2.847 MB / 1.115 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009933/0.8487, allocations: 476 kB / 1.115 GB, free: 9.719 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.8487, allocations: 4.766 kB / 1.115 GB, free: 9.715 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005526/0.8493, allocations: 310.1 kB / 1.116 GB, free: 9.402 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=45): time 2.535e-06/0.8493, allocations: 0 / 1.116 GB, free: 9.402 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.00299/0.8523, allocations: 1.293 MB / 1.117 GB, free: 8.059 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.8523, allocations: 67.33 kB / 1.117 GB, free: 7.98 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00173/0.8541, allocations: 1.755 MB / 1.119 GB, free: 6.215 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.8541, allocations: 41.64 kB / 1.119 GB, free: 6.168 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003978/0.8545, allocations: 0.5257 MB / 1.119 GB, free: 5.637 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.8546, allocations: 142 kB / 1.119 GB, free: 5.496 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-05/0.8547, allocations: 8 kB / 1.119 GB, free: 5.488 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.8548, allocations: 334 kB / 1.12 GB, free: 5.156 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005013/0.8553, allocations: 237 kB / 1.12 GB, free: 4.926 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005513/0.8559, allocations: 340.9 kB / 1.12 GB, free: 4.555 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005221/0.8564, allocations: 253.2 kB / 1.12 GB, free: 4.309 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.8564, allocations: 8 kB / 1.12 GB, free: 4.301 MB / 0.8731 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001639/0.858, allocations: 0.8896 MB / 1.121 GB, free: 3.402 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.8581, allocations: 5.406 kB / 1.121 GB, free: 3.398 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.8581, allocations: 8.125 kB / 1.121 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005112/0.8586, allocations: 194.4 kB / 1.122 GB, free: 3.199 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/0.859, allocations: 99.88 kB / 1.122 GB, free: 3.102 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00338/0.8624, allocations: 2.892 MB / 1.124 GB, free: 84 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004524/0.8628, allocations: 91.7 kB / 1.125 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.8629, allocations: 20 kB / 1.125 GB, free: 15.97 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 (49): * Single equations (assignments): 48 * 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%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004452/0.8633, allocations: 379.4 kB / 1.125 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.8635, allocations: 118.3 kB / 1.125 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/0.8637, allocations: 139.7 kB / 1.125 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.8637, allocations: 8 kB / 1.125 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.8637, allocations: 3.938 kB / 1.125 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.8637, allocations: 7.984 kB / 1.125 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/0.8661, allocations: 1.601 MB / 1.127 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.8662, allocations: 8 kB / 1.127 GB, free: 13.65 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/0.8664, allocations: 43.97 kB / 1.127 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004942/0.8669, allocations: 205.6 kB / 1.127 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/0.8669, allocations: 8 kB / 1.127 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003946/0.8709, allocations: 4.111 MB / 1.131 GB, free: 9.012 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.8709, allocations: 3.953 kB / 1.131 GB, free: 9.008 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/0.8728, allocations: 1.088 MB / 1.132 GB, free: 7.898 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003596/0.8732, allocations: 231.4 kB / 1.132 GB, free: 7.652 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.973e-05/0.8733, allocations: 15.94 kB / 1.132 GB, free: 7.637 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000337/0.8736, allocations: 43.95 kB / 1.132 GB, free: 7.594 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.8737, allocations: 59.86 kB / 1.132 GB, free: 7.535 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/0.8738, allocations: 16 kB / 1.132 GB, free: 7.52 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001414/0.8752, allocations: 1.273 MB / 1.134 GB, free: 6.242 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8752, allocations: 0 / 1.134 GB, free: 6.242 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008409/0.8761, allocations: 211.7 kB / 1.134 GB, free: 6.035 MB / 0.8887 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 (27): * Single equations (assignments): 19 * 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%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001106/0.8772, allocations: 497.5 kB / 1.134 GB, free: 5.73 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001531/0.8787, allocations: 0.7466 MB / 1.135 GB, free: 4.969 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.8787, allocations: 0 / 1.135 GB, free: 4.969 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008982/0.8796, allocations: 0.5718 MB / 1.136 GB, free: 4.371 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009528/0.8806, allocations: 176.2 kB / 1.136 GB, free: 4.199 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003667/0.8843, allocations: 2.659 MB / 1.138 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008009/0.8851, allocations: 1.181 MB / 1.14 GB, free: 312 kB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003161/0.8854, allocations: 88.8 kB / 1.14 GB, free: 224 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.8856, allocations: 39.42 kB / 1.14 GB, free: 184 kB / 0.8887 GB Notification: Performance of SimCode: time 6.31e-07/0.8856, allocations: 0 / 1.14 GB, free: 184 kB / 0.8887 GB Notification: Performance of Templates: time 0.0169/0.9025, allocations: 9.488 MB / 1.149 GB, free: 6.816 MB / 0.9044 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","../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches