Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009577/0.0009576, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009733/0.0009734, allocations: 192.3 kB / 16.13 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.203/1.203, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.572/1.572, allocations: 292.3 MB / 0.5484 GB, free: 13.69 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 66.98 kB / 0.6708 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1943, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.4938/0.6881, allocations: 155.2 MB / 0.9342 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02183/0.7099, allocations: 21.73 MB / 0.9555 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002482/0.7125, allocations: 50.66 kB / 0.9555 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002803/0.7153, allocations: 2.119 MB / 0.9576 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002777/0.7181, allocations: 1.405 MB / 0.9589 GB, free: 5.922 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.7198, allocations: 0.5078 MB / 0.9594 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00282/0.7227, allocations: 2.054 MB / 0.9614 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.7239, allocations: 1.024 MB / 0.9624 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.725, allocations: 0.8199 MB / 0.9632 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/0.7266, allocations: 1.573 MB / 0.9648 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.7267, allocations: 56.03 kB / 0.9648 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003439/0.7271, allocations: 96.08 kB / 0.9649 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004152/0.7275, allocations: 0.5446 MB / 0.9655 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005638/0.7281, allocations: 0.76 MB / 0.9662 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.7293, allocations: 1.846 MB / 0.968 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7294, allocations: 1.5 kB / 0.968 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.81e-07/0.7294, allocations: 0 / 0.968 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.889e-05/0.7294, allocations: 0 / 0.968 GB, free: 4.965 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.003299/0.7327, allocations: 2.351 MB / 0.9703 GB, free: 19.66 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.7327, allocations: 9.125 kB / 0.9703 GB, free: 19.66 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002801/0.733, allocations: 241 kB / 0.9705 GB, free: 19.53 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.7341, allocations: 1.031 MB / 0.9715 GB, free: 18.97 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.7343, allocations: 90.38 kB / 0.9716 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.7344, allocations: 71.2 kB / 0.9717 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00128/0.7357, allocations: 0.7762 MB / 0.9725 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.7357, allocations: 5.859 kB / 0.9725 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.316e-05/0.7358, allocations: 28.34 kB / 0.9725 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.7358, allocations: 18.47 kB / 0.9725 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.7369, allocations: 0.6287 MB / 0.9731 GB, free: 18.85 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004503/0.7414, allocations: 3.741 MB / 0.9768 GB, free: 17.21 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001375/0.7428, allocations: 0.7396 MB / 0.9775 GB, free: 17.18 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006856/0.7435, allocations: 430.2 kB / 0.9779 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.75e-05/0.7436, allocations: 11.86 kB / 0.9779 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006936/0.7443, allocations: 450.1 kB / 0.9784 GB, free: 17.1 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=73): time 3.056e-06/0.7443, allocations: 0 / 0.9784 GB, free: 17.1 MB / 0.7481 GB Notification: Performance of matching and sorting (n=73): time 0.003837/0.7481, allocations: 1.83 MB / 0.9801 GB, free: 16.69 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.7482, allocations: 66.11 kB / 0.9802 GB, free: 16.63 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003049/0.7512, allocations: 3.363 MB / 0.9835 GB, free: 16.4 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.459e-05/0.7513, allocations: 44.73 kB / 0.9835 GB, free: 16.37 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005921/0.7519, allocations: 0.9201 MB / 0.9844 GB, free: 16.21 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.7521, allocations: 231.8 kB / 0.9846 GB, free: 16.07 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001844/0.7522, allocations: 139.8 kB / 0.9848 GB, free: 16.05 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.79e-05/0.7523, allocations: 349.4 kB / 0.9851 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005746/0.7529, allocations: 316.3 kB / 0.9854 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006275/0.7536, allocations: 472.9 kB / 0.9859 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.7547, allocations: 0.7409 MB / 0.9866 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.758e-06/0.7547, allocations: 7.406 kB / 0.9866 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002094/0.7568, allocations: 1.248 MB / 0.9878 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.7568, allocations: 10.09 kB / 0.9878 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.7569, allocations: 2.5 kB / 0.9878 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000632/0.7575, allocations: 266.5 kB / 0.9881 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004761/0.758, allocations: 136.8 kB / 0.9882 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003826/0.7618, allocations: 4.355 MB / 0.9925 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008271/0.7627, allocations: 109 kB / 0.9926 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.796e-05/0.7627, allocations: 25.41 kB / 0.9926 GB, free: 11.59 MB / 0.7481 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,$PRE.mean.y,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.000985/0.7637, allocations: 0.6187 MB / 0.9932 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.7639, allocations: 215.7 kB / 0.9934 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003262/0.7642, allocations: 265.8 kB / 0.9937 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.7643, allocations: 5.406 kB / 0.9937 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.898e-05/0.7643, allocations: 4.906 kB / 0.9937 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.7643, allocations: 3.141 kB / 0.9937 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003499/0.7678, allocations: 2.41 MB / 0.996 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.7678, allocations: 0 / 0.996 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003112/0.7681, allocations: 74.25 kB / 0.9961 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005782/0.7687, allocations: 253.6 kB / 0.9963 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.087e-05/0.7688, allocations: 20.5 kB / 0.9964 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003994/0.7728, allocations: 4.356 MB / 1.001 GB, free: 6.523 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.7728, allocations: 0 / 1.001 GB, free: 6.523 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002691/0.7755, allocations: 1.634 MB / 1.002 GB, free: 5.805 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004722/0.776, allocations: 328 kB / 1.003 GB, free: 5.555 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.7761, allocations: 18.86 kB / 1.003 GB, free: 5.543 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004724/0.7766, allocations: 51.89 kB / 1.003 GB, free: 5.527 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/0.7768, allocations: 75.66 kB / 1.003 GB, free: 5.516 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.869e-05/0.7769, allocations: 24.33 kB / 1.003 GB, free: 5.512 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00288/0.7798, allocations: 2.465 MB / 1.005 GB, free: 4.559 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7798, allocations: 0 / 1.005 GB, free: 4.559 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009791/0.7808, allocations: 306.9 kB / 1.005 GB, free: 4.5 MB / 0.7481 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) * 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.001071/0.7818, allocations: 495.1 kB / 1.006 GB, free: 4.277 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002003/0.7839, allocations: 1.093 MB / 1.007 GB, free: 3.637 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7839, allocations: 0 / 1.007 GB, free: 3.637 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009907/0.7849, allocations: 0.7027 MB / 1.008 GB, free: 3.168 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.7862, allocations: 269.4 kB / 1.008 GB, free: 3.016 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005627/0.7919, allocations: 4.65 MB / 1.012 GB, free: 452 kB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/0.793, allocations: 1.554 MB / 1.014 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004815/0.7935, allocations: 163.7 kB / 1.014 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.7936, allocations: 67.2 kB / 1.014 GB, free: 15.25 MB / 0.7637 GB Notification: Performance of SimCode: time 4.31e-07/0.7936, allocations: 0 / 1.014 GB, free: 15.25 MB / 0.7637 GB Notification: Performance of Templates: time 0.02407/0.8177, allocations: 14.26 MB / 1.028 GB, free: 3.809 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1)