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.001098/0.001098, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 192 kB / 16.53 MB, free: 6.391 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.088/1.088, allocations: 205.1 MB / 222.4 MB, free: 4.562 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.451/1.451, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.00131/0.00131, allocations: 75.03 kB / 0.6715 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1606, allocations: 114.5 MB / 0.7834 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.4366/0.5973, allocations: 157.5 MB / 0.9372 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01966/0.6169, allocations: 21.87 MB / 0.9585 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002297/0.6193, allocations: 57.5 kB / 0.9586 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002372/0.6217, allocations: 2.17 MB / 0.9607 GB, free: 4.418 MB / 0.7169 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.002104/0.6238, allocations: 1.446 MB / 0.9621 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.6252, allocations: 0.5772 MB / 0.9627 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002073/0.6273, allocations: 1.917 MB / 0.9645 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.6284, allocations: 1.116 MB / 0.9656 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009479/0.6293, allocations: 0.9173 MB / 0.9665 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001331/0.6307, allocations: 1.589 MB / 0.9681 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.6308, allocations: 95.91 kB / 0.9682 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003007/0.6311, allocations: 138.6 kB / 0.9683 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003428/0.6315, allocations: 0.5472 MB / 0.9688 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004861/0.632, allocations: 0.8035 MB / 0.9696 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.6332, allocations: 1.893 MB / 0.9715 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.6332, allocations: 0 / 0.9715 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.133e-06/0.6332, allocations: 0 / 0.9715 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.724e-05/0.6332, allocations: 0 / 0.9715 GB, free: 2.93 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.002523/0.6357, allocations: 2.35 MB / 0.9738 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.651e-05/0.6358, allocations: 10.66 kB / 0.9738 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.636, allocations: 239.1 kB / 0.974 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009019/0.6369, allocations: 1.026 MB / 0.975 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.637, allocations: 90.89 kB / 0.9751 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.603e-05/0.6371, allocations: 71.78 kB / 0.9752 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.6382, allocations: 0.7786 MB / 0.9759 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.6382, allocations: 1.188 kB / 0.9759 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.397e-05/0.6382, allocations: 29.86 kB / 0.976 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.6383, allocations: 15.69 kB / 0.976 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009783/0.6392, allocations: 0.6337 MB / 0.9766 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003814/0.6431, allocations: 3.748 MB / 0.9802 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.6444, allocations: 0.7503 MB / 0.981 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000634/0.645, allocations: 424.4 kB / 0.9814 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/0.6451, allocations: 15.7 kB / 0.9814 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000653/0.6457, allocations: 452.4 kB / 0.9818 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=73): time 1.933e-06/0.6457, allocations: 0 / 0.9818 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of matching and sorting (n=73): time 0.003475/0.6492, allocations: 1.826 MB / 0.9836 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.6493, allocations: 68.47 kB / 0.9837 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002608/0.6519, allocations: 3.357 MB / 0.987 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.407e-05/0.6519, allocations: 53 kB / 0.987 GB, free: 9.742 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006242/0.6526, allocations: 0.9197 MB / 0.9879 GB, free: 8.949 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.6527, allocations: 234.9 kB / 0.9881 GB, free: 8.754 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001866/0.6529, allocations: 136.8 kB / 0.9883 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.266e-05/0.653, allocations: 341.5 kB / 0.9886 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005581/0.6536, allocations: 319.3 kB / 0.9889 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006395/0.6542, allocations: 472.1 kB / 0.9893 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.6553, allocations: 0.7483 MB / 0.9901 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.6553, allocations: 0 / 0.9901 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001873/0.6572, allocations: 1.244 MB / 0.9913 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.6572, allocations: 11.45 kB / 0.9913 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.6572, allocations: 2.312 kB / 0.9913 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005664/0.6578, allocations: 263.6 kB / 0.9916 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004337/0.6583, allocations: 142 kB / 0.9917 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003938/0.6622, allocations: 4.751 MB / 0.9963 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005495/0.6628, allocations: 105.6 kB / 0.9964 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.221e-05/0.6628, allocations: 23.75 kB / 0.9964 GB, free: 2.434 MB / 0.7325 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.0005887/0.6634, allocations: 0.6155 MB / 0.9971 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001728/0.6636, allocations: 216.8 kB / 0.9973 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002868/0.6639, allocations: 259.3 kB / 0.9975 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.6639, allocations: 11.42 kB / 0.9975 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.6639, allocations: 6.938 kB / 0.9975 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.6639, allocations: 6.266 kB / 0.9975 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002995/0.6669, allocations: 2.405 MB / 0.9999 GB, free: 352 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.6669, allocations: 4 kB / 0.9999 GB, free: 348 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/0.6672, allocations: 70.7 kB / 0.9999 GB, free: 332 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000498/0.6677, allocations: 251.2 kB / 1 GB, free: 208 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.369e-05/0.6678, allocations: 20.39 kB / 1 GB, free: 192 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003832/0.6716, allocations: 4.752 MB / 1.005 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6716, allocations: 0 / 1.005 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/0.6739, allocations: 1.636 MB / 1.006 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003169/0.6742, allocations: 322.5 kB / 1.007 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.6744, allocations: 25.58 kB / 1.007 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000407/0.6748, allocations: 39.5 kB / 1.007 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.6749, allocations: 75.2 kB / 1.007 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-05/0.675, allocations: 25.55 kB / 1.007 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001968/0.677, allocations: 2.463 MB / 1.009 GB, free: 9.699 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.064e-06/0.677, allocations: 0 / 1.009 GB, free: 9.699 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000733/0.6777, allocations: 298.5 kB / 1.01 GB, free: 9.645 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.0009568/0.6787, allocations: 492 kB / 1.01 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001921/0.6806, allocations: 1.193 MB / 1.011 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6806, allocations: 1.906 kB / 1.011 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008889/0.6815, allocations: 0.7079 MB / 1.012 GB, free: 8.258 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.6827, allocations: 295.1 kB / 1.012 GB, free: 8.082 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00441/0.6871, allocations: 4.12 MB / 1.016 GB, free: 4.168 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009767/0.6881, allocations: 1.556 MB / 1.018 GB, free: 2.578 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003761/0.6884, allocations: 166.5 kB / 1.018 GB, free: 2.41 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.6886, allocations: 67.42 kB / 1.018 GB, free: 2.344 MB / 0.7481 GB Notification: Performance of SimCode: time 3.01e-07/0.6886, allocations: 0 / 1.018 GB, free: 2.344 MB / 0.7481 GB Notification: Performance of Templates: time 0.02288/0.7115, allocations: 15.08 MB / 1.033 GB, free: 3.473 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)