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.001159/0.00116, allocations: 102.4 kB / 16.29 MB, free: 6.113 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.001142/0.001142, allocations: 183.7 kB / 17.22 MB, free: 5.73 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.178/1.178, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.595/1.595, allocations: 292.3 MB / 0.5495 GB, free: 17.49 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.001293/0.001293, allocations: 67.89 kB / 0.6722 GB, free: 6.508 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1872, allocations: 114.6 MB / 0.7841 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.4224/0.6096, allocations: 156.7 MB / 0.9371 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02072/0.6304, allocations: 21.56 MB / 0.9582 GB, free: 8.137 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001348/0.6318, allocations: 47.75 kB / 0.9582 GB, free: 8.09 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001364/0.6332, allocations: 1.165 MB / 0.9594 GB, free: 6.922 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.001121/0.6343, allocations: 0.8524 MB / 0.9602 GB, free: 6.066 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007926/0.6351, allocations: 408.5 kB / 0.9606 GB, free: 5.672 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001004/0.6361, allocations: 1.247 MB / 0.9618 GB, free: 4.422 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006701/0.6368, allocations: 0.6855 MB / 0.9625 GB, free: 3.77 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005243/0.6373, allocations: 0.5451 MB / 0.963 GB, free: 3.223 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008705/0.6382, allocations: 0.9138 MB / 0.9639 GB, free: 2.309 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 9.495e-05/0.6383, allocations: 67.94 kB / 0.964 GB, free: 2.242 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002146/0.6385, allocations: 108 kB / 0.9641 GB, free: 2.137 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002369/0.6388, allocations: 318.5 kB / 0.9644 GB, free: 1.824 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003598/0.6391, allocations: 488.8 kB / 0.9648 GB, free: 1.344 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0009208/0.6401, allocations: 1.195 MB / 0.966 GB, free: 148 kB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.6401, allocations: 0 / 0.966 GB, free: 148 kB / 0.7481 GB Notification: Performance of FrontEnd: time 2.715e-06/0.6401, allocations: 4 kB / 0.966 GB, free: 144 kB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.6401, allocations: 3.938 kB / 0.966 GB, free: 140 kB / 0.7481 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.001904/0.642, allocations: 1.47 MB / 0.9674 GB, free: 14.62 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 2.975e-05/0.6421, allocations: 8.031 kB / 0.9674 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.6422, allocations: 135.3 kB / 0.9676 GB, free: 14.48 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006969/0.6429, allocations: 0.6511 MB / 0.9682 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.643, allocations: 78.69 kB / 0.9683 GB, free: 13.69 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-05/0.6431, allocations: 47.98 kB / 0.9683 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008083/0.6439, allocations: 0.5184 MB / 0.9688 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.644, allocations: 0 / 0.9688 GB, free: 13.11 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/0.644, allocations: 19.98 kB / 0.9689 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.644, allocations: 13.56 kB / 0.9689 GB, free: 13.08 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007328/0.6448, allocations: 411.7 kB / 0.9693 GB, free: 12.67 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.003001/0.6478, allocations: 2.779 MB / 0.972 GB, free: 9.648 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008931/0.6487, allocations: 469.6 kB / 0.9724 GB, free: 9.184 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005349/0.6492, allocations: 285.5 kB / 0.9727 GB, free: 8.902 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.716e-05/0.6493, allocations: 4 kB / 0.9727 GB, free: 8.898 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005025/0.6498, allocations: 297.8 kB / 0.973 GB, free: 8.598 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=45): time 1.843e-06/0.6498, allocations: 4 kB / 0.973 GB, free: 8.594 MB / 0.7637 GB Notification: Performance of matching and sorting (n=45): time 0.002523/0.6523, allocations: 1.254 MB / 0.9742 GB, free: 7.289 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.6524, allocations: 59.34 kB / 0.9743 GB, free: 7.219 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/0.6539, allocations: 1.74 MB / 0.976 GB, free: 5.469 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.6539, allocations: 41.7 kB / 0.976 GB, free: 5.422 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000364/0.6543, allocations: 0.5172 MB / 0.9765 GB, free: 4.898 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.6544, allocations: 147.1 kB / 0.9766 GB, free: 4.754 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.6546, allocations: 90.25 kB / 0.9767 GB, free: 4.656 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.6547, allocations: 334 kB / 0.9771 GB, free: 4.324 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000425/0.6551, allocations: 221 kB / 0.9773 GB, free: 4.109 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004726/0.6556, allocations: 320.9 kB / 0.9776 GB, free: 3.758 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007821/0.6564, allocations: 0.5091 MB / 0.9781 GB, free: 3.211 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.6564, allocations: 4 kB / 0.9781 GB, free: 3.207 MB / 0.7637 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001443/0.6579, allocations: 0.8515 MB / 0.9789 GB, free: 2.348 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.6579, allocations: 8.781 kB / 0.9789 GB, free: 2.34 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.6579, allocations: 10.73 kB / 0.9789 GB, free: 2.332 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004911/0.6584, allocations: 181.7 kB / 0.9791 GB, free: 2.152 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.6587, allocations: 91.88 kB / 0.9792 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003182/0.6619, allocations: 3.004 MB / 0.9821 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003661/0.6623, allocations: 71.48 kB / 0.9822 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.401e-05/0.6623, allocations: 16 kB / 0.9822 GB, free: 14.84 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: 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.0004374/0.6628, allocations: 391.4 kB / 0.9826 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.6629, allocations: 118.4 kB / 0.9827 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.6631, allocations: 139.6 kB / 0.9828 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.6631, allocations: 7.984 kB / 0.9828 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.6631, allocations: 4 kB / 0.9828 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6631, allocations: 0 / 0.9828 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.6653, allocations: 1.562 MB / 0.9844 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.6653, allocations: 0 / 0.9844 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.6655, allocations: 51.66 kB / 0.9844 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004149/0.666, allocations: 190.9 kB / 0.9846 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.139e-05/0.666, allocations: 15.98 kB / 0.9846 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003876/0.6699, allocations: 4.558 MB / 0.9891 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6699, allocations: 0 / 0.9891 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.6715, allocations: 1.064 MB / 0.9901 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002289/0.6718, allocations: 213.5 kB / 0.9903 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.708e-05/0.6719, allocations: 8 kB / 0.9903 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/0.6721, allocations: 27.97 kB / 0.9903 GB, free: 6.129 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.6723, allocations: 59.86 kB / 0.9904 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.664e-05/0.6723, allocations: 19.98 kB / 0.9904 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001171/0.6735, allocations: 1.277 MB / 0.9917 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6735, allocations: 0 / 0.9917 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006441/0.6741, allocations: 199.7 kB / 0.9918 GB, free: 4.574 MB / 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: 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.00101/0.6751, allocations: 491.1 kB / 0.9923 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001268/0.6764, allocations: 0.715 MB / 0.993 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.6764, allocations: 0 / 0.993 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0007648/0.6772, allocations: 0.5529 MB / 0.9935 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007934/0.678, allocations: 198.7 kB / 0.9937 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.681, allocations: 2.359 MB / 0.996 GB, free: 488 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006708/0.6816, allocations: 1.146 MB / 0.9972 GB, free: 15.3 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002059/0.6819, allocations: 93.23 kB / 0.9972 GB, free: 15.21 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.706e-05/0.682, allocations: 43.44 kB / 0.9973 GB, free: 15.17 MB / 0.795 GB Notification: Performance of SimCode: time 2.7e-07/0.682, allocations: 0 / 0.9973 GB, free: 15.17 MB / 0.795 GB Notification: Performance of Templates: time 0.0163/0.6983, allocations: 10.45 MB / 1.007 GB, free: 4.902 MB / 0.795 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)