Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001473/0.001473, allocations: 109.1 kB / 16.41 MB, free: 6.512 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.001071/0.001071, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.269/1.269, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002141/0.002141, allocations: 288.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9147/0.9147, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 99.83 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3615, allocations: 86.98 MB / 0.767 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.1502/0.5117, allocations: 156.7 MB / 0.9201 GB, free: 6.652 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02316/0.5349, allocations: 21.76 MB / 0.9413 GB, free: 0.8242 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.5364, allocations: 55.69 kB / 0.9414 GB, free: 0.7695 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.538, allocations: 1.165 MB / 0.9425 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001424/0.5394, allocations: 0.8484 MB / 0.9434 GB, free: 14.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.5405, allocations: 443.4 kB / 0.9438 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001409/0.542, allocations: 1.259 MB / 0.945 GB, free: 13.06 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008797/0.5429, allocations: 0.6792 MB / 0.9457 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007413/0.5436, allocations: 0.5529 MB / 0.9462 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.5448, allocations: 0.9216 MB / 0.9471 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.5449, allocations: 64 kB / 0.9472 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002661/0.5452, allocations: 112 kB / 0.9473 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002739/0.5455, allocations: 320.7 kB / 0.9476 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004701/0.5459, allocations: 492.8 kB / 0.9481 GB, free: 9.926 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.5471, allocations: 1.197 MB / 0.9492 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.5471, allocations: 0 / 0.9492 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5471, allocations: 4 kB / 0.9492 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.58e-05/0.5472, allocations: 0 / 0.9492 GB, free: 8.723 MB / 0.7169 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.002335/0.5495, allocations: 1.475 MB / 0.9507 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.5496, allocations: 15.97 kB / 0.9507 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/0.5498, allocations: 135.2 kB / 0.9508 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008392/0.5506, allocations: 0.6628 MB / 0.9515 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.5508, allocations: 74.69 kB / 0.9515 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.935e-05/0.5509, allocations: 51.98 kB / 0.9516 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009711/0.5518, allocations: 0.5184 MB / 0.9521 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.5519, allocations: 0 / 0.9521 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.434e-05/0.5519, allocations: 16 kB / 0.9521 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.5519, allocations: 12 kB / 0.9521 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008609/0.5528, allocations: 419.7 kB / 0.9525 GB, free: 5.234 MB / 0.7169 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.00353/0.5564, allocations: 2.788 MB / 0.9552 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001004/0.5574, allocations: 459.8 kB / 0.9557 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005703/0.558, allocations: 285.3 kB / 0.9559 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.558, allocations: 12.25 kB / 0.956 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005591/0.5586, allocations: 298.8 kB / 0.9562 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=45): time 2.114e-06/0.5586, allocations: 0 / 0.9562 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=45): time 0.3114/0.87, allocations: 1.236 MB / 0.9575 GB, free: 192.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.8701, allocations: 57.34 kB / 0.9575 GB, free: 192.2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002406/0.8725, allocations: 1.751 MB / 0.9592 GB, free: 191.8 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.068e-05/0.8726, allocations: 38.66 kB / 0.9593 GB, free: 191.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00036/0.873, allocations: 0.5229 MB / 0.9598 GB, free: 191.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.8731, allocations: 144.7 kB / 0.9599 GB, free: 191.4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.8732, allocations: 95.09 kB / 0.96 GB, free: 191.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.868e-05/0.8733, allocations: 331 kB / 0.9603 GB, free: 191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004998/0.8738, allocations: 219.2 kB / 0.9605 GB, free: 190.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005174/0.8743, allocations: 329.1 kB / 0.9608 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008558/0.8752, allocations: 0.5067 MB / 0.9613 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.8752, allocations: 4.656 kB / 0.9613 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001573/0.8768, allocations: 0.842 MB / 0.9622 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.8768, allocations: 5.969 kB / 0.9622 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.8768, allocations: 3.25 kB / 0.9622 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004986/0.8773, allocations: 187.5 kB / 0.9623 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/0.8777, allocations: 92.31 kB / 0.9624 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00297/0.8807, allocations: 2.995 MB / 0.9654 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004106/0.8811, allocations: 83.08 kB / 0.9654 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.8811, allocations: 19.94 kB / 0.9655 GB, free: 187.8 MB / 0.7169 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 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,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 (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003938/0.8815, allocations: 383.2 kB / 0.9658 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.8816, allocations: 112.2 kB / 0.9659 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.8819, allocations: 141.4 kB / 0.9661 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.8819, allocations: 2.203 kB / 0.9661 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.8819, allocations: 2.125 kB / 0.9661 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001883/0.8821, allocations: 226.1 kB / 0.9663 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.531e-05/0.8822, allocations: 13.48 kB / 0.9663 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000297/0.8825, allocations: 25.95 kB / 0.9663 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.8826, allocations: 62.91 kB / 0.9664 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001794/0.8844, allocations: 0.8208 MB / 0.9672 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001341/0.8858, allocations: 1.001 MB / 0.9682 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003684/0.8862, allocations: 237.2 kB / 0.9684 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001035/0.8872, allocations: 1.279 MB / 0.9696 GB, free: 186 MB / 0.7169 GB Notification: Performance of Backend: time 4.41e-07/0.8872, allocations: 0 / 0.9696 GB, free: 186 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002453/0.8897, allocations: 1.239 MB / 0.9708 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of SimCode: time 0.002593/0.8923, allocations: 2.756 MB / 0.9735 GB, free: 182.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.01562/0.9079, allocations: 10.08 MB / 0.9834 GB, free: 173.2 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)