Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.TestCase10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 117.5 kB / 16.42 MB, free: 6.492 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.001118/0.001118, allocations: 186.6 kB / 17.35 MB, free: 5.762 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00236/0.002359, allocations: 287.7 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9859/0.986, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 99.84 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3695, allocations: 86.98 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1559/0.5255, allocations: 157.5 MB / 0.9209 GB, free: 5.789 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02367/0.5492, allocations: 22.07 MB / 0.9424 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001601/0.5508, allocations: 59.69 kB / 0.9425 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002343/0.5532, allocations: 2.167 MB / 0.9446 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001941/0.5551, allocations: 1.479 MB / 0.946 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.5565, allocations: 0.6128 MB / 0.9466 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001842/0.5584, allocations: 1.933 MB / 0.9485 GB, free: 9.387 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.5595, allocations: 1.119 MB / 0.9496 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000927/0.5605, allocations: 0.9192 MB / 0.9505 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/0.5621, allocations: 1.588 MB / 0.9521 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001728/0.5623, allocations: 100 kB / 0.9522 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.5626, allocations: 140 kB / 0.9523 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004499/0.5631, allocations: 0.5511 MB / 0.9528 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006452/0.5637, allocations: 0.803 MB / 0.9536 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001706/0.5655, allocations: 1.941 MB / 0.9555 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.5655, allocations: 0 / 0.9555 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5655, allocations: 0 / 0.9555 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.94e-05/0.5655, allocations: 0 / 0.9555 GB, free: 2.184 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.3133/0.8789, allocations: 2.347 MB / 0.9578 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.8789, allocations: 9.625 kB / 0.9578 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003675/0.8793, allocations: 243 kB / 0.9581 GB, free: 191.4 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.8808, allocations: 1.031 MB / 0.9591 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.881, allocations: 88.62 kB / 0.9591 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.8811, allocations: 72.38 kB / 0.9592 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.8828, allocations: 0.7805 MB / 0.96 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.8828, allocations: 5 kB / 0.96 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.941e-05/0.8829, allocations: 27.33 kB / 0.96 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.716e-05/0.8829, allocations: 19.84 kB / 0.96 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.8843, allocations: 0.6355 MB / 0.9606 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004792/0.8891, allocations: 3.716 MB / 0.9643 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001538/0.8907, allocations: 0.7409 MB / 0.965 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007719/0.8915, allocations: 435 kB / 0.9654 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.466e-05/0.8915, allocations: 13.77 kB / 0.9654 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008128/0.8923, allocations: 451.2 kB / 0.9659 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=73): time 3.697e-06/0.8923, allocations: 0 / 0.9659 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=73): time 0.004205/0.8966, allocations: 1.828 MB / 0.9676 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.307e-05/0.8966, allocations: 77.08 kB / 0.9677 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002663/0.8993, allocations: 3.367 MB / 0.971 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.522e-05/0.8993, allocations: 49.7 kB / 0.971 GB, free: 184.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005108/0.8999, allocations: 0.9175 MB / 0.9719 GB, free: 183.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.9, allocations: 235.9 kB / 0.9722 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001771/0.9002, allocations: 142.6 kB / 0.9723 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.863e-05/0.9003, allocations: 338 kB / 0.9726 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006351/0.9009, allocations: 317.8 kB / 0.9729 GB, free: 182.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006202/0.9015, allocations: 468 kB / 0.9734 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.9026, allocations: 0.7544 MB / 0.9741 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.9026, allocations: 0 / 0.9741 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001955/0.9046, allocations: 1.247 MB / 0.9753 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.9046, allocations: 8 kB / 0.9753 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.9046, allocations: 7.125 kB / 0.9753 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006046/0.9053, allocations: 263.5 kB / 0.9756 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004825/0.9057, allocations: 131.8 kB / 0.9757 GB, free: 179.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003545/0.9093, allocations: 4.749 MB / 0.9804 GB, free: 174.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007365/0.9101, allocations: 99.39 kB / 0.9805 GB, free: 174.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.512e-05/0.9101, allocations: 31.98 kB / 0.9805 GB, free: 174.3 MB / 0.7169 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.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.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 (77): * Single equations (assignments): 75 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006287/0.9107, allocations: 0.6107 MB / 0.9811 GB, free: 173.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/0.9109, allocations: 217.2 kB / 0.9813 GB, free: 173.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.9112, allocations: 258.9 kB / 0.9815 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.9112, allocations: 7.312 kB / 0.9815 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.9112, allocations: 0 / 0.9815 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003684/0.9116, allocations: 326.2 kB / 0.9819 GB, free: 172.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/0.9118, allocations: 20 kB / 0.9819 GB, free: 172.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004235/0.9122, allocations: 35.95 kB / 0.9819 GB, free: 172.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.9124, allocations: 84.53 kB / 0.982 GB, free: 172.7 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002147/0.9145, allocations: 1.161 MB / 0.9831 GB, free: 171.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001825/0.9164, allocations: 1.537 MB / 0.9846 GB, free: 170 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005071/0.9169, allocations: 349 kB / 0.985 GB, free: 169.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001892/0.9188, allocations: 2.472 MB / 0.9874 GB, free: 167.2 MB / 0.7169 GB Notification: Performance of Backend: time 2.5e-07/0.9188, allocations: 0 / 0.9874 GB, free: 167.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002849/0.9217, allocations: 1.728 MB / 0.9891 GB, free: 165.7 MB / 0.7169 GB Notification: Performance of SimCode: time 0.00409/0.9258, allocations: 4.354 MB / 0.9933 GB, free: 161.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.02095/0.9467, allocations: 14.94 MB / 1.008 GB, free: 146.6 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1)