Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 103.2 kB / 16.27 MB, free: 6.359 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.001355/0.001355, allocations: 194.9 kB / 17.2 MB, free: 5.953 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.572/1.572, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.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.797/1.797, allocations: 292.3 MB / 0.5495 GB, free: 17.55 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.001695/0.001695, allocations: 66.88 kB / 0.6722 GB, free: 6.566 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2547, allocations: 114.6 MB / 0.784 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.5903/0.845, allocations: 157.2 MB / 0.9376 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02724/0.8723, allocations: 21.79 MB / 0.9589 GB, free: 7.402 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002546/0.8749, allocations: 55.69 kB / 0.9589 GB, free: 7.348 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002564/0.8776, allocations: 2.155 MB / 0.961 GB, free: 5.188 MB / 0.7481 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002422/0.88, allocations: 1.411 MB / 0.9624 GB, free: 3.773 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.8815, allocations: 0.5391 MB / 0.9629 GB, free: 3.238 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002209/0.8837, allocations: 1.813 MB / 0.9647 GB, free: 1.422 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/0.8851, allocations: 1.078 MB / 0.9657 GB, free: 384 kB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.8863, allocations: 0.8724 MB / 0.9666 GB, free: 15.5 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001686/0.888, allocations: 1.538 MB / 0.9681 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.8882, allocations: 88 kB / 0.9682 GB, free: 13.88 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003352/0.8885, allocations: 136 kB / 0.9683 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0004496/0.889, allocations: 0.5208 MB / 0.9688 GB, free: 13.22 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0007053/0.8897, allocations: 0.7699 MB / 0.9696 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001778/0.8915, allocations: 1.825 MB / 0.9714 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.8915, allocations: 0 / 0.9714 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.913e-06/0.8915, allocations: 0 / 0.9714 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.246e-05/0.8915, allocations: 0 / 0.9714 GB, free: 10.61 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.003462/0.895, allocations: 2.28 MB / 0.9736 GB, free: 8.27 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.895, allocations: 8.031 kB / 0.9736 GB, free: 8.262 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002945/0.8953, allocations: 234 kB / 0.9738 GB, free: 8.031 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.8966, allocations: 0.9955 MB / 0.9748 GB, free: 6.969 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.8968, allocations: 90.94 kB / 0.9749 GB, free: 6.875 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.8969, allocations: 64 kB / 0.9749 GB, free: 6.812 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.8982, allocations: 0.7212 MB / 0.9756 GB, free: 6.078 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.8982, allocations: 8 kB / 0.9756 GB, free: 6.07 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.34e-05/0.8983, allocations: 23.98 kB / 0.9757 GB, free: 6.047 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.8983, allocations: 16 kB / 0.9757 GB, free: 6.031 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.8995, allocations: 0.5906 MB / 0.9763 GB, free: 5.438 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004849/0.9043, allocations: 3.519 MB / 0.9797 GB, free: 1.664 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.9059, allocations: 0.7098 MB / 0.9804 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000727/0.9066, allocations: 410.9 kB / 0.9808 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 5.568e-05/0.9067, allocations: 12.55 kB / 0.9808 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007573/0.9074, allocations: 430.8 kB / 0.9812 GB, free: 104 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=70): time 3.136e-06/0.9075, allocations: 4.75 kB / 0.9812 GB, free: 100 kB / 0.7637 GB Notification: Performance of matching and sorting (n=70): time 0.004274/0.9117, allocations: 1.792 MB / 0.983 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.9118, allocations: 63.95 kB / 0.983 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003453/0.9153, allocations: 3.304 MB / 0.9863 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.564e-05/0.9154, allocations: 45.64 kB / 0.9863 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007797/0.9162, allocations: 0.886 MB / 0.9872 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002209/0.9164, allocations: 220.8 kB / 0.9874 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.9166, allocations: 144 kB / 0.9875 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.9167, allocations: 334 kB / 0.9878 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006529/0.9174, allocations: 305.8 kB / 0.9881 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007279/0.9181, allocations: 433.4 kB / 0.9885 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.9194, allocations: 0.7249 MB / 0.9892 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.9194, allocations: 0 / 0.9892 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002376/0.9218, allocations: 1.213 MB / 0.9904 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.9218, allocations: 8 kB / 0.9904 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/0.9219, allocations: 3.938 kB / 0.9904 GB, free: 6.434 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007142/0.9226, allocations: 258.8 kB / 0.9907 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004818/0.9231, allocations: 127.8 kB / 0.9908 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005028/0.9281, allocations: 4.766 MB / 0.9955 GB, free: 1.012 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006996/0.9288, allocations: 88.08 kB / 0.9955 GB, free: 0.9258 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.397e-05/0.9289, allocations: 35.98 kB / 0.9956 GB, free: 0.8906 MB / 0.7794 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.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y,$PRE.mean.y,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.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 (73): * Single equations (assignments): 71 * 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 {(2,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008551/0.9298, allocations: 0.6028 MB / 0.9962 GB, free: 288 kB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002516/0.93, allocations: 204.2 kB / 0.9964 GB, free: 84 kB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003624/0.9304, allocations: 254.7 kB / 0.9966 GB, free: 15.83 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.9304, allocations: 8 kB / 0.9966 GB, free: 15.82 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-05/0.9304, allocations: 8 kB / 0.9966 GB, free: 15.81 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.9305, allocations: 3.984 kB / 0.9966 GB, free: 15.81 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003637/0.9341, allocations: 2.327 MB / 0.9989 GB, free: 13.41 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.9341, allocations: 0 / 0.9989 GB, free: 13.41 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000305/0.9344, allocations: 63.91 kB / 0.999 GB, free: 13.35 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006375/0.9351, allocations: 265.4 kB / 0.9992 GB, free: 13.09 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/0.9351, allocations: 19.98 kB / 0.9992 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004981/0.9401, allocations: 4.768 MB / 1.004 GB, free: 8.031 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.9402, allocations: 0 / 1.004 GB, free: 8.031 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002847/0.943, allocations: 1.563 MB / 1.005 GB, free: 6.441 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004623/0.9435, allocations: 314.4 kB / 1.006 GB, free: 6.113 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/0.9436, allocations: 17.3 kB / 1.006 GB, free: 6.098 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004312/0.9441, allocations: 47.84 kB / 1.006 GB, free: 6.051 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/0.9443, allocations: 76.45 kB / 1.006 GB, free: 5.977 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-05/0.9444, allocations: 23.98 kB / 1.006 GB, free: 5.953 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002687/0.947, allocations: 2.419 MB / 1.008 GB, free: 3.52 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9471, allocations: 4 kB / 1.008 GB, free: 3.516 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009835/0.948, allocations: 284.3 kB / 1.009 GB, free: 3.238 MB / 0.795 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,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * 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.001194/0.9493, allocations: 0.4944 MB / 1.009 GB, free: 2.988 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002446/0.9517, allocations: 1.143 MB / 1.01 GB, free: 1.816 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.9517, allocations: 0 / 1.01 GB, free: 1.816 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001118/0.9529, allocations: 0.6903 MB / 1.011 GB, free: 1.102 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001421/0.9543, allocations: 276.4 kB / 1.011 GB, free: 0.8477 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006015/0.9603, allocations: 4.114 MB / 1.015 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001203/0.9616, allocations: 1.516 MB / 1.017 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002327/0.9618, allocations: 71.36 kB / 1.017 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of SimCode: time 7.41e-07/0.9618, allocations: 0 / 1.017 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of Templates: time 0.0436/1.005, allocations: 31.39 MB / 1.047 GB, free: 11.75 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)