Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001064/0.001064, allocations: 197 kB / 16.14 MB, free: 6.711 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.229/1.229, 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.587/1.587, allocations: 292.2 MB / 0.5484 GB, free: 13.65 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.00124/0.00124, allocations: 65.8 kB / 0.6708 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2019, allocations: 114.5 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.5257/0.7276, allocations: 154.4 MB / 0.9335 GB, free: 6.391 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01936/0.747, allocations: 21.43 MB / 0.9544 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001948/0.749, allocations: 49.06 kB / 0.9545 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00169/0.7507, allocations: 1.124 MB / 0.9556 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001329/0.7521, allocations: 0.81 MB / 0.9564 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.7531, allocations: 362.5 kB / 0.9567 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001623/0.7547, allocations: 1.346 MB / 0.958 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000791/0.7555, allocations: 0.6103 MB / 0.9586 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007506/0.7563, allocations: 496.8 kB / 0.9591 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009612/0.7573, allocations: 0.9059 MB / 0.96 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.201e-05/0.7574, allocations: 36.59 kB / 0.96 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002419/0.7576, allocations: 80.03 kB / 0.9601 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002478/0.7579, allocations: 308 kB / 0.9604 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003536/0.7582, allocations: 465.6 kB / 0.9608 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000774/0.759, allocations: 1.157 MB / 0.9619 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.759, allocations: 0 / 0.9619 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.22e-07/0.759, allocations: 4 kB / 0.962 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.759, allocations: 0 / 0.962 GB, free: 5.578 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.002158/0.7612, allocations: 1.468 MB / 0.9634 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.7613, allocations: 12.88 kB / 0.9634 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.7614, allocations: 130.1 kB / 0.9635 GB, free: 20.64 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000676/0.7621, allocations: 0.646 MB / 0.9642 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.7622, allocations: 79.97 kB / 0.9642 GB, free: 20.22 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.819e-05/0.7623, allocations: 51.88 kB / 0.9643 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008506/0.7632, allocations: 0.5097 MB / 0.9648 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.7632, allocations: 1.531 kB / 0.9648 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.7632, allocations: 20.81 kB / 0.9648 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.7633, allocations: 10.59 kB / 0.9648 GB, free: 20.14 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007543/0.764, allocations: 414.2 kB / 0.9652 GB, free: 20.14 MB / 0.7481 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003078/0.7671, allocations: 2.796 MB / 0.9679 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009285/0.768, allocations: 455.9 kB / 0.9684 GB, free: 18.59 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004955/0.7686, allocations: 294.9 kB / 0.9686 GB, free: 18.58 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.798e-05/0.7686, allocations: 5.25 kB / 0.9687 GB, free: 18.58 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005144/0.7691, allocations: 302.4 kB / 0.9689 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=45): time 2.584e-06/0.7691, allocations: 1.078 kB / 0.9689 GB, free: 18.52 MB / 0.7481 GB Notification: Performance of matching and sorting (n=45): time 0.002717/0.7719, allocations: 1.238 MB / 0.9702 GB, free: 18.18 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.7719, allocations: 58.91 kB / 0.9702 GB, free: 18.12 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.7736, allocations: 1.753 MB / 0.9719 GB, free: 17.96 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.7736, allocations: 36.08 kB / 0.972 GB, free: 17.93 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003159/0.7739, allocations: 0.5148 MB / 0.9725 GB, free: 17.8 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.547e-05/0.774, allocations: 144.5 kB / 0.9726 GB, free: 17.71 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.7742, allocations: 102.2 kB / 0.9727 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.7743, allocations: 331.7 kB / 0.973 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004412/0.7747, allocations: 220.5 kB / 0.9732 GB, free: 17.38 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/0.7752, allocations: 323.6 kB / 0.9735 GB, free: 17.27 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007711/0.776, allocations: 0.508 MB / 0.974 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.776, allocations: 0 / 0.974 GB, free: 17.16 MB / 0.7481 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001431/0.7774, allocations: 0.8561 MB / 0.9749 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.7775, allocations: 6.875 kB / 0.9749 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.423e-06/0.7775, allocations: 2.75 kB / 0.9749 GB, free: 17.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004649/0.7779, allocations: 186.2 kB / 0.975 GB, free: 17.01 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.7783, allocations: 93.08 kB / 0.9751 GB, free: 17.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002939/0.7812, allocations: 2.746 MB / 0.9778 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004372/0.7817, allocations: 80.02 kB / 0.9779 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-05/0.7817, allocations: 19.38 kB / 0.9779 GB, free: 15.59 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y,$PRE.mean.y,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004466/0.7822, allocations: 385 kB / 0.9783 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.7823, allocations: 116.8 kB / 0.9784 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002023/0.7825, allocations: 139.1 kB / 0.9785 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.7825, allocations: 8.688 kB / 0.9785 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.7825, allocations: 2.188 kB / 0.9785 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.7825, allocations: 3.188 kB / 0.9785 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/0.7847, allocations: 1.571 MB / 0.9801 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.7847, allocations: 0 / 0.9801 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002175/0.7849, allocations: 48.08 kB / 0.9801 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004154/0.7853, allocations: 187 kB / 0.9803 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.7854, allocations: 14.5 kB / 0.9803 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003542/0.7889, allocations: 4.136 MB / 0.9843 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.7889, allocations: 0 / 0.9843 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.7906, allocations: 1.054 MB / 0.9854 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/0.7908, allocations: 222.6 kB / 0.9856 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.065e-05/0.7909, allocations: 12.19 kB / 0.9856 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.7913, allocations: 31.75 kB / 0.9856 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.7914, allocations: 57.41 kB / 0.9857 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/0.7914, allocations: 14.78 kB / 0.9857 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001275/0.7927, allocations: 1.285 MB / 0.987 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7927, allocations: 0 / 0.987 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008168/0.7936, allocations: 212.8 kB / 0.9872 GB, free: 11.61 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,13,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.0009276/0.7945, allocations: 483.3 kB / 0.9876 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001264/0.7958, allocations: 0.7151 MB / 0.9883 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7958, allocations: 0 / 0.9883 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007343/0.7965, allocations: 0.5565 MB / 0.9889 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009404/0.7975, allocations: 186.4 kB / 0.989 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/0.8007, allocations: 2.683 MB / 0.9917 GB, free: 9.34 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000693/0.8014, allocations: 1.155 MB / 0.9928 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002603/0.8017, allocations: 93.11 kB / 0.9929 GB, free: 8.562 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.8018, allocations: 42.95 kB / 0.9929 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of SimCode: time 2e-07/0.8018, allocations: 0 / 0.9929 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of Templates: time 0.01608/0.8179, allocations: 9.836 MB / 1.003 GB, free: 6.078 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)