Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 104.2 kB / 16.27 MB, free: 5.953 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.001417/0.001417, allocations: 191.3 kB / 17.2 MB, free: 5.594 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.296/1.296, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00247/0.00247, allocations: 296.9 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.154/1.154, allocations: 178.6 MB / 0.5079 GB, free: 12.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002706/0.002706, allocations: 99.84 kB / 0.6071 GB, free: 9.289 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1901, allocations: 89.13 MB / 0.6941 GB, free: 80 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.4494/0.6395, allocations: 157.2 MB / 0.8477 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02898/0.6686, allocations: 22 MB / 0.8692 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002609/0.6712, allocations: 58.09 kB / 0.8692 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002807/0.6741, allocations: 2.165 MB / 0.8714 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00269/0.6768, allocations: 1.421 MB / 0.8727 GB, free: 3.168 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.6786, allocations: 0.5741 MB / 0.8733 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002769/0.6814, allocations: 1.828 MB / 0.8751 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002008/0.6834, allocations: 1.092 MB / 0.8762 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001656/0.6851, allocations: 0.8725 MB / 0.877 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002216/0.6873, allocations: 1.534 MB / 0.8785 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003543/0.6877, allocations: 92 kB / 0.8786 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005748/0.6883, allocations: 139.9 kB / 0.8787 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006766/0.689, allocations: 0.5238 MB / 0.8792 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001135/0.6901, allocations: 0.768 MB / 0.88 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002383/0.6925, allocations: 1.825 MB / 0.8818 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.6925, allocations: 0 / 0.8818 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6925, allocations: 0 / 0.8818 GB, free: 9.926 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.232e-05/0.6926, allocations: 0 / 0.8818 GB, free: 9.926 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.004165/0.6968, allocations: 2.283 MB / 0.884 GB, free: 7.586 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.6968, allocations: 12.03 kB / 0.884 GB, free: 7.574 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003154/0.6971, allocations: 226 kB / 0.8842 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.6986, allocations: 1.007 MB / 0.8852 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/0.6987, allocations: 83 kB / 0.8853 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.6989, allocations: 64 kB / 0.8853 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.7003, allocations: 0.7368 MB / 0.8861 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.7003, allocations: 0 / 0.8861 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.563e-05/0.7004, allocations: 27.98 kB / 0.8861 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.7004, allocations: 16 kB / 0.8861 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.7016, allocations: 0.5907 MB / 0.8867 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005013/0.7066, allocations: 3.533 MB / 0.8901 GB, free: 0.9492 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/0.7082, allocations: 0.7076 MB / 0.8908 GB, free: 240 kB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008053/0.709, allocations: 410.9 kB / 0.8912 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.303e-05/0.7091, allocations: 8.562 kB / 0.8912 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008267/0.7099, allocations: 438.8 kB / 0.8916 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 2.875e-06/0.7099, allocations: 0 / 0.8916 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.004375/0.7143, allocations: 1.796 MB / 0.8934 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/0.7144, allocations: 59.97 kB / 0.8935 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003835/0.7182, allocations: 3.312 MB / 0.8967 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.7183, allocations: 41.7 kB / 0.8967 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008554/0.7192, allocations: 0.886 MB / 0.8976 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/0.7195, allocations: 228.8 kB / 0.8978 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/0.7197, allocations: 130.7 kB / 0.8979 GB, free: 8.82 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.7199, allocations: 337.9 kB / 0.8983 GB, free: 8.484 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006846/0.7206, allocations: 305.8 kB / 0.8986 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007625/0.7213, allocations: 438.4 kB / 0.899 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.7227, allocations: 0.7228 MB / 0.8997 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.7227, allocations: 0 / 0.8997 GB, free: 6.953 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002455/0.7251, allocations: 1.214 MB / 0.9009 GB, free: 5.727 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.7252, allocations: 7.938 kB / 0.9009 GB, free: 5.719 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.7252, allocations: 7.984 kB / 0.9009 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007254/0.7259, allocations: 265.6 kB / 0.9011 GB, free: 5.445 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004745/0.7264, allocations: 131.8 kB / 0.9013 GB, free: 5.316 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005463/0.7319, allocations: 4.75 MB / 0.9059 GB, free: 300 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007697/0.7327, allocations: 95.23 kB / 0.906 GB, free: 204 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-05/0.7328, allocations: 28 kB / 0.906 GB, free: 176 kB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.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 (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009384/0.7337, allocations: 0.6152 MB / 0.9066 GB, free: 15.55 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002612/0.734, allocations: 205.4 kB / 0.9068 GB, free: 15.34 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003664/0.7343, allocations: 248.5 kB / 0.907 GB, free: 15.09 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.7344, allocations: 8 kB / 0.9071 GB, free: 15.09 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.069e-05/0.7344, allocations: 11.94 kB / 0.9071 GB, free: 15.07 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.7344, allocations: 3.984 kB / 0.9071 GB, free: 15.07 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003797/0.7382, allocations: 2.331 MB / 0.9093 GB, free: 12.67 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.7382, allocations: 3.984 kB / 0.9093 GB, free: 12.67 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/0.7385, allocations: 63.91 kB / 0.9094 GB, free: 12.61 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006194/0.7392, allocations: 249.5 kB / 0.9096 GB, free: 12.36 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.231e-05/0.7392, allocations: 19.98 kB / 0.9097 GB, free: 12.34 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005318/0.7445, allocations: 4.762 MB / 0.9143 GB, free: 7.301 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.7446, allocations: 3.984 kB / 0.9143 GB, free: 7.297 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002962/0.7475, allocations: 1.575 MB / 0.9159 GB, free: 5.691 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004861/0.7481, allocations: 314.3 kB / 0.9162 GB, free: 5.363 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001466/0.7482, allocations: 19.98 kB / 0.9162 GB, free: 5.344 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004235/0.7486, allocations: 35.91 kB / 0.9162 GB, free: 5.309 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/0.7488, allocations: 72.45 kB / 0.9163 GB, free: 5.238 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.858e-05/0.7489, allocations: 35.98 kB / 0.9163 GB, free: 5.203 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002713/0.7516, allocations: 2.419 MB / 0.9187 GB, free: 2.77 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7516, allocations: 0 / 0.9187 GB, free: 2.77 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009859/0.7526, allocations: 292.3 kB / 0.919 GB, free: 2.484 MB / 0.67 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.001773/0.7544, allocations: 495.1 kB / 0.9194 GB, free: 2.184 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002472/0.7569, allocations: 1.153 MB / 0.9206 GB, free: 1.004 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.7569, allocations: 0 / 0.9206 GB, free: 1.004 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.758, allocations: 0.6826 MB / 0.9212 GB, free: 308 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.7594, allocations: 277.2 kB / 0.9215 GB, free: 40 kB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005881/0.7653, allocations: 4.128 MB / 0.9255 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/0.7665, allocations: 1.516 MB / 0.927 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.7668, allocations: 71.42 kB / 0.9271 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of SimCode: time 2.625e-06/0.7668, allocations: 0 / 0.9271 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of Templates: time 0.04324/0.81, allocations: 31.47 MB / 0.9578 GB, free: 10.84 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)