Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 112.2 kB / 16.37 MB, free: 6 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.001152/0.001152, allocations: 191.9 kB / 17.31 MB, free: 5.617 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.486/1.486, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.747/1.747, allocations: 292.3 MB / 0.5496 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.001412/0.001412, allocations: 71.91 kB / 0.6729 GB, free: 5.895 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2424, allocations: 114.6 MB / 0.7848 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.6091/0.8515, allocations: 157 MB / 0.9381 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03028/0.8819, allocations: 21.68 MB / 0.9593 GB, free: 7.395 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002887/0.8848, allocations: 51.69 kB / 0.9593 GB, free: 7.344 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002253/0.8871, allocations: 1.344 MB / 0.9607 GB, free: 5.996 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.002401/0.8896, allocations: 0.9652 MB / 0.9616 GB, free: 5.027 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.8914, allocations: 472.9 kB / 0.9621 GB, free: 4.57 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002461/0.8939, allocations: 1.43 MB / 0.9634 GB, free: 3.137 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001492/0.8954, allocations: 0.7745 MB / 0.9642 GB, free: 2.387 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.8967, allocations: 0.6425 MB / 0.9648 GB, free: 1.742 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001694/0.8984, allocations: 1.098 MB / 0.9659 GB, free: 0.6406 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002531/0.8987, allocations: 68 kB / 0.966 GB, free: 0.5742 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004941/0.8992, allocations: 128 kB / 0.9661 GB, free: 460 kB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004449/0.8997, allocations: 373.9 kB / 0.9664 GB, free: 88 kB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0008491/0.9005, allocations: 0.5511 MB / 0.967 GB, free: 15.53 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001954/0.9025, allocations: 1.366 MB / 0.9683 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.9025, allocations: 4 kB / 0.9683 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9025, allocations: 0 / 0.9683 GB, free: 14.16 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.19e-05/0.9026, allocations: 0 / 0.9683 GB, free: 14.16 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.003445/0.906, allocations: 1.666 MB / 0.97 GB, free: 12.43 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.9061, allocations: 15.97 kB / 0.97 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003067/0.9064, allocations: 163 kB / 0.9701 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.9075, allocations: 0.7441 MB / 0.9708 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.9076, allocations: 74.69 kB / 0.9709 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.114e-05/0.9077, allocations: 55.91 kB / 0.971 GB, free: 11.33 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.9088, allocations: 0.5692 MB / 0.9715 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.9089, allocations: 0 / 0.9715 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.277e-05/0.9089, allocations: 21.67 kB / 0.9715 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.909, allocations: 15.94 kB / 0.9716 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009101/0.9099, allocations: 443.7 kB / 0.972 GB, free: 10.28 MB / 0.7637 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.004174/0.9141, allocations: 2.994 MB / 0.9749 GB, free: 7.016 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.9152, allocations: 0.5 MB / 0.9754 GB, free: 6.508 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006175/0.9158, allocations: 321.1 kB / 0.9757 GB, free: 6.191 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.535e-05/0.9159, allocations: 8.375 kB / 0.9757 GB, free: 6.184 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006499/0.9165, allocations: 329.1 kB / 0.976 GB, free: 5.852 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=52): time 2.635e-06/0.9166, allocations: 3.938 kB / 0.976 GB, free: 5.848 MB / 0.7637 GB Notification: Performance of matching and sorting (n=52): time 0.00335/0.9199, allocations: 1.347 MB / 0.9773 GB, free: 4.449 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/0.92, allocations: 63.83 kB / 0.9774 GB, free: 4.375 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002454/0.9225, allocations: 2.108 MB / 0.9795 GB, free: 2.254 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 7.621e-05/0.9225, allocations: 41.69 kB / 0.9795 GB, free: 2.207 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005919/0.9231, allocations: 0.6206 MB / 0.9801 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.9233, allocations: 173.6 kB / 0.9803 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/0.9235, allocations: 102.3 kB / 0.9804 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.9237, allocations: 333.9 kB / 0.9807 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005562/0.9242, allocations: 237.2 kB / 0.9809 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005896/0.9248, allocations: 352.1 kB / 0.9813 GB, free: 364 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.9259, allocations: 0.5501 MB / 0.9818 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.9259, allocations: 0 / 0.9818 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001909/0.9278, allocations: 0.903 MB / 0.9827 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.9279, allocations: 8 kB / 0.9827 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.9279, allocations: 7.984 kB / 0.9827 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005678/0.9285, allocations: 190.4 kB / 0.9829 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003925/0.9289, allocations: 107.8 kB / 0.983 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003848/0.9327, allocations: 3.052 MB / 0.986 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000608/0.9334, allocations: 75.48 kB / 0.986 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.602e-05/0.9334, allocations: 20 kB / 0.986 GB, free: 11.26 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 24 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y,$PRE.mean.y,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.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 (57): * Single equations (assignments): 56 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000763/0.9342, allocations: 447.8 kB / 0.9865 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.9344, allocations: 138.2 kB / 0.9866 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.9347, allocations: 162 kB / 0.9868 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.9347, allocations: 4 kB / 0.9868 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/0.9347, allocations: 7.938 kB / 0.9868 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.9347, allocations: 3.984 kB / 0.9868 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002842/0.9376, allocations: 1.731 MB / 0.9885 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.9376, allocations: 6.875 kB / 0.9885 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.9379, allocations: 47.97 kB / 0.9885 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005288/0.9384, allocations: 196.9 kB / 0.9887 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.664e-05/0.9385, allocations: 15.98 kB / 0.9887 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004859/0.9433, allocations: 4.601 MB / 0.9932 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.9434, allocations: 3.984 kB / 0.9932 GB, free: 3.562 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/0.9456, allocations: 1.163 MB / 0.9944 GB, free: 2.375 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000347/0.946, allocations: 250.4 kB / 0.9946 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.9461, allocations: 12 kB / 0.9946 GB, free: 2.102 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003484/0.9465, allocations: 31.95 kB / 0.9946 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.9466, allocations: 56.36 kB / 0.9947 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.836e-05/0.9467, allocations: 27.98 kB / 0.9947 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001612/0.9483, allocations: 1.541 MB / 0.9962 GB, free: 460 kB / 0.7794 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9483, allocations: 0 / 0.9962 GB, free: 460 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008523/0.9492, allocations: 215.7 kB / 0.9964 GB, free: 244 kB / 0.7794 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: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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,14,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.001238/0.9504, allocations: 484.2 kB / 0.9969 GB, free: 8 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001767/0.9522, allocations: 0.7687 MB / 0.9976 GB, free: 15.22 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.9522, allocations: 0 / 0.9976 GB, free: 15.22 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0009708/0.9532, allocations: 0.586 MB / 0.9982 GB, free: 14.61 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.9545, allocations: 238.3 kB / 0.9984 GB, free: 14.4 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004398/0.9589, allocations: 2.841 MB / 1.001 GB, free: 11.53 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008296/0.9597, allocations: 1.228 MB / 1.002 GB, free: 10.27 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.9599, allocations: 55.42 kB / 1.002 GB, free: 10.21 MB / 0.795 GB Notification: Performance of SimCode: time 1.112e-06/0.9599, allocations: 0 / 1.002 GB, free: 10.21 MB / 0.795 GB Notification: Performance of Templates: time 0.0274/0.9873, allocations: 20.34 MB / 1.022 GB, free: 5.965 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)