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.001429/0.001429, allocations: 112.8 kB / 16.41 MB, free: 6.438 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.001492/0.001492, allocations: 189.6 kB / 17.34 MB, free: 5.742 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.277/1.277, 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.002597/0.002597, allocations: 288.4 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.9329/0.9329, allocations: 169.2 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 95.84 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3859, allocations: 86.98 MB / 0.767 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1537/0.5397, allocations: 157.5 MB / 0.9209 GB, free: 5.84 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02409/0.5638, allocations: 22.07 MB / 0.9424 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001953/0.5658, allocations: 63.62 kB / 0.9425 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002542/0.5684, allocations: 2.175 MB / 0.9446 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002322/0.5707, allocations: 1.448 MB / 0.946 GB, free: 12 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001762/0.5725, allocations: 0.6187 MB / 0.9466 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002451/0.575, allocations: 1.929 MB / 0.9485 GB, free: 9.457 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001639/0.5767, allocations: 1.115 MB / 0.9496 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001438/0.5781, allocations: 0.9231 MB / 0.9505 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001909/0.58, allocations: 1.592 MB / 0.952 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002906/0.5803, allocations: 96 kB / 0.9521 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004389/0.5808, allocations: 144 kB / 0.9523 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000478/0.5813, allocations: 0.5511 MB / 0.9528 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008201/0.5821, allocations: 0.7952 MB / 0.9536 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001954/0.5841, allocations: 1.937 MB / 0.9555 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5841, allocations: 0 / 0.9555 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5841, allocations: 0 / 0.9555 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.121e-05/0.5842, allocations: 0 / 0.9555 GB, free: 2.262 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.3196/0.9037, allocations: 2.35 MB / 0.9578 GB, free: 191.6 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.9038, allocations: 9.438 kB / 0.9578 GB, free: 191.6 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004726/0.9043, allocations: 243.7 kB / 0.958 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.9059, allocations: 1.033 MB / 0.959 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/0.9061, allocations: 92.75 kB / 0.9591 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.9062, allocations: 68.16 kB / 0.9592 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.908, allocations: 0.7831 MB / 0.9599 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.908, allocations: 5.031 kB / 0.9599 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-05/0.9081, allocations: 31.58 kB / 0.96 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.19e-05/0.9081, allocations: 19.48 kB / 0.96 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.9095, allocations: 0.6321 MB / 0.9606 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004888/0.9144, allocations: 3.72 MB / 0.9642 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.9159, allocations: 0.7404 MB / 0.965 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007476/0.9167, allocations: 430.2 kB / 0.9654 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.567e-05/0.9167, allocations: 13.58 kB / 0.9654 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007816/0.9175, allocations: 455.7 kB / 0.9658 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=73): time 3.196e-06/0.9175, allocations: 0 / 0.9658 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=73): time 0.00413/0.9217, allocations: 1.835 MB / 0.9676 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.9217, allocations: 64.36 kB / 0.9677 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002685/0.9244, allocations: 3.37 MB / 0.971 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.99e-05/0.9245, allocations: 41.7 kB / 0.971 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004972/0.925, allocations: 0.9214 MB / 0.9719 GB, free: 183.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.9252, allocations: 232.2 kB / 0.9721 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.9253, allocations: 142.6 kB / 0.9723 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.256e-05/0.9254, allocations: 338 kB / 0.9726 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005442/0.926, allocations: 317.8 kB / 0.9729 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005853/0.9265, allocations: 472 kB / 0.9733 GB, free: 182 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.9276, allocations: 0.7556 MB / 0.9741 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.9276, allocations: 0 / 0.9741 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002/0.9296, allocations: 1.254 MB / 0.9753 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.9296, allocations: 4 kB / 0.9753 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.9296, allocations: 8.094 kB / 0.9753 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005953/0.9302, allocations: 255.4 kB / 0.9756 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004502/0.9307, allocations: 143.7 kB / 0.9757 GB, free: 179.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003444/0.9341, allocations: 4.742 MB / 0.9803 GB, free: 174.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007951/0.935, allocations: 95.33 kB / 0.9804 GB, free: 174.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-05/0.935, allocations: 24 kB / 0.9804 GB, free: 174.4 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.0006658/0.9357, allocations: 0.6186 MB / 0.981 GB, free: 173.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.9359, allocations: 219.6 kB / 0.9813 GB, free: 173.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003102/0.9362, allocations: 257.1 kB / 0.9815 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.9362, allocations: 4 kB / 0.9815 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.948e-05/0.9362, allocations: 7.938 kB / 0.9815 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.9362, allocations: 7.984 kB / 0.9815 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002935/0.9392, allocations: 2.415 MB / 0.9839 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.9392, allocations: 3.938 kB / 0.9839 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.9395, allocations: 67.89 kB / 0.9839 GB, free: 170.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000502/0.94, allocations: 257.4 kB / 0.9842 GB, free: 170.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.356e-05/0.9401, allocations: 19.98 kB / 0.9842 GB, free: 170.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003309/0.9434, allocations: 4.732 MB / 0.9888 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.9434, allocations: 3.938 kB / 0.9888 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002295/0.9457, allocations: 1.63 MB / 0.9904 GB, free: 163.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003753/0.9461, allocations: 322.3 kB / 0.9907 GB, free: 163.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.9462, allocations: 24 kB / 0.9908 GB, free: 163.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004184/0.9467, allocations: 39.95 kB / 0.9908 GB, free: 163.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.9468, allocations: 72.55 kB / 0.9909 GB, free: 163.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.961e-05/0.9469, allocations: 24 kB / 0.9909 GB, free: 163.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001846/0.9487, allocations: 2.46 MB / 0.9933 GB, free: 160.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.51e-07/0.9487, allocations: 0 / 0.9933 GB, free: 160.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009256/0.9497, allocations: 305.4 kB / 0.9936 GB, free: 160.5 MB / 0.7169 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,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * 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.001079/0.9508, allocations: 0.4987 MB / 0.9941 GB, free: 160.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001791/0.9526, allocations: 1.095 MB / 0.9951 GB, free: 159.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.9526, allocations: 0 / 0.9951 GB, free: 159.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008657/0.9535, allocations: 0.7048 MB / 0.9958 GB, free: 158.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.9547, allocations: 286.8 kB / 0.9961 GB, free: 158.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004506/0.9592, allocations: 4.166 MB / 1 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007465/0.96, allocations: 1.54 MB / 1.002 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.9602, allocations: 75.36 kB / 1.002 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of SimCode: time 6.31e-07/0.9602, allocations: 0 / 1.002 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.03227/0.9925, allocations: 32.71 MB / 1.034 GB, free: 119.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)