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.001277/0.001277, allocations: 105.7 kB / 16.41 MB, free: 6.504 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.001281/0.001281, allocations: 187 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.272/1.272, 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.002145/0.002146, allocations: 280.8 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9265/0.9265, allocations: 169.2 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 99.83 kB / 0.6821 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.4008, allocations: 86.97 MB / 0.767 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.1468/0.5477, allocations: 157.5 MB / 0.9208 GB, free: 5.863 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02328/0.571, allocations: 22.08 MB / 0.9424 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001914/0.573, allocations: 59.69 kB / 0.9425 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002224/0.5753, allocations: 2.163 MB / 0.9446 GB, free: 13.49 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001984/0.5773, allocations: 1.456 MB / 0.946 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.5787, allocations: 0.6221 MB / 0.9466 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001904/0.5806, allocations: 1.926 MB / 0.9485 GB, free: 9.48 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.5819, allocations: 1.123 MB / 0.9496 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.5829, allocations: 0.923 MB / 0.9505 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/0.5844, allocations: 1.588 MB / 0.952 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.5846, allocations: 96 kB / 0.9521 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003185/0.5849, allocations: 144 kB / 0.9523 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003883/0.5853, allocations: 0.555 MB / 0.9528 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006002/0.5859, allocations: 0.7952 MB / 0.9536 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.5875, allocations: 1.933 MB / 0.9555 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.5875, allocations: 3.984 kB / 0.9555 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5875, allocations: 0 / 0.9555 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.893e-05/0.5875, allocations: 0 / 0.9555 GB, free: 2.277 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.3328/0.9203, allocations: 2.348 MB / 0.9578 GB, free: 191.6 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.9204, allocations: 11.41 kB / 0.9578 GB, free: 191.6 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004372/0.9208, allocations: 243.2 kB / 0.958 GB, free: 191.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/0.9225, allocations: 1.032 MB / 0.959 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001577/0.9226, allocations: 92.75 kB / 0.9591 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.9228, allocations: 72 kB / 0.9592 GB, free: 190.8 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.9244, allocations: 0.7803 MB / 0.9599 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.9244, allocations: 4.938 kB / 0.9599 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.643e-05/0.9245, allocations: 27.44 kB / 0.96 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.242e-05/0.9246, allocations: 17.72 kB / 0.96 GB, free: 190.4 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.926, allocations: 0.6411 MB / 0.9606 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005061/0.931, allocations: 3.712 MB / 0.9642 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.9326, allocations: 0.7376 MB / 0.965 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007501/0.9333, allocations: 437.7 kB / 0.9654 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.224e-05/0.9334, allocations: 15.98 kB / 0.9654 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000805/0.9342, allocations: 450 kB / 0.9658 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=73): time 3.687e-06/0.9342, allocations: 6.047 kB / 0.9658 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=73): time 0.004023/0.9382, allocations: 1.823 MB / 0.9676 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.9383, allocations: 67.92 kB / 0.9677 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002631/0.9409, allocations: 3.369 MB / 0.971 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.034e-05/0.941, allocations: 49.69 kB / 0.971 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005046/0.9415, allocations: 0.9252 MB / 0.9719 GB, free: 183.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.9417, allocations: 232.6 kB / 0.9721 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001751/0.9418, allocations: 138.6 kB / 0.9723 GB, free: 183.2 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.921e-05/0.9419, allocations: 337.9 kB / 0.9726 GB, free: 182.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005505/0.9425, allocations: 321.8 kB / 0.9729 GB, free: 182.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005971/0.9431, allocations: 468 kB / 0.9733 GB, free: 182 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.9441, allocations: 0.7584 MB / 0.9741 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.9441, allocations: 0 / 0.9741 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001917/0.946, allocations: 1.243 MB / 0.9753 GB, free: 180 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.9461, allocations: 10.5 kB / 0.9753 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.9461, allocations: 4 kB / 0.9753 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005882/0.9467, allocations: 263.2 kB / 0.9756 GB, free: 179.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004529/0.9471, allocations: 139.8 kB / 0.9757 GB, free: 179.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003493/0.9506, allocations: 4.745 MB / 0.9803 GB, free: 174.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007886/0.9514, allocations: 99.39 kB / 0.9804 GB, free: 174.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/0.9515, allocations: 28 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.0006601/0.9521, allocations: 0.6106 MB / 0.981 GB, free: 173.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.9523, allocations: 213.2 kB / 0.9812 GB, free: 173.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/0.9526, allocations: 265.1 kB / 0.9815 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.9526, allocations: 8 kB / 0.9815 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.045e-05/0.9527, allocations: 4 kB / 0.9815 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.9527, allocations: 6.094 kB / 0.9815 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00307/0.9557, allocations: 2.4 MB / 0.9839 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.9558, allocations: 7.938 kB / 0.9839 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/0.9561, allocations: 75.89 kB / 0.9839 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004993/0.9566, allocations: 253.4 kB / 0.9842 GB, free: 170.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.197e-05/0.9566, allocations: 19.98 kB / 0.9842 GB, free: 170.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00341/0.96, allocations: 4.74 MB / 0.9888 GB, free: 165.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.96, allocations: 8 kB / 0.9888 GB, free: 165.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00228/0.9623, allocations: 1.632 MB / 0.9904 GB, free: 163.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004079/0.9628, allocations: 310.3 kB / 0.9907 GB, free: 163.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.9629, allocations: 23.98 kB / 0.9908 GB, free: 163.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/0.9633, allocations: 43.95 kB / 0.9908 GB, free: 163.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.9635, allocations: 72.56 kB / 0.9909 GB, free: 163.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.687e-05/0.9635, allocations: 23.98 kB / 0.9909 GB, free: 163.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00181/0.9653, allocations: 2.46 MB / 0.9933 GB, free: 160.9 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.31e-07/0.9654, allocations: 0 / 0.9933 GB, free: 160.9 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008021/0.9662, allocations: 309.4 kB / 0.9936 GB, free: 160.6 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.001025/0.9672, allocations: 0.4964 MB / 0.9941 GB, free: 160.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001602/0.9688, allocations: 1.095 MB / 0.9951 GB, free: 159.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.9688, allocations: 3.938 kB / 0.9951 GB, free: 159.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008453/0.9697, allocations: 0.7104 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.001155/0.9708, allocations: 287.7 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.004344/0.9752, allocations: 4.16 MB / 1 GB, free: 154 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000743/0.976, allocations: 1.544 MB / 1.002 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.9762, allocations: 67.42 kB / 1.002 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of SimCode: time 8.21e-07/0.9762, allocations: 4 kB / 1.002 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.02997/1.006, allocations: 33 MB / 1.034 GB, free: 119.4 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)