Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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: 196.5 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001983/0.001983, allocations: 283 kB / 290.4 MB, free: 2.062 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9923/0.9923, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 87.36 kB / 0.5947 GB, free: 28.43 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.154, allocations: 86.99 MB / 0.6796 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.4416/0.5956, allocations: 154.6 MB / 0.8306 GB, free: 428 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0223/0.6179, allocations: 21.49 MB / 0.8516 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002012/0.62, allocations: 50.75 kB / 0.8516 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001399/0.6214, allocations: 1.133 MB / 0.8527 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001531/0.623, allocations: 0.8146 MB / 0.8535 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.6242, allocations: 378.5 kB / 0.8539 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001337/0.6255, allocations: 1.257 MB / 0.8551 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008449/0.6264, allocations: 0.6988 MB / 0.8558 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006703/0.6271, allocations: 0.5531 MB / 0.8563 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008857/0.6279, allocations: 0.9531 MB / 0.8572 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.539e-05/0.628, allocations: 65.94 kB / 0.8573 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002249/0.6283, allocations: 110.2 kB / 0.8574 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002415/0.6285, allocations: 338.6 kB / 0.8577 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000355/0.6289, allocations: 488.8 kB / 0.8582 GB, free: 8.109 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.63, allocations: 1.188 MB / 0.8594 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.63, allocations: 0 / 0.8594 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.263e-06/0.63, allocations: 0 / 0.8594 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.63, allocations: 4 kB / 0.8594 GB, free: 7.312 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002099/0.6321, allocations: 1.472 MB / 0.8608 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.6322, allocations: 10.34 kB / 0.8608 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.6323, allocations: 133.7 kB / 0.8609 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007324/0.6331, allocations: 0.6593 MB / 0.8616 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.6332, allocations: 74.5 kB / 0.8617 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.26e-05/0.6333, allocations: 53.72 kB / 0.8617 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008815/0.6342, allocations: 0.5149 MB / 0.8622 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.6342, allocations: 2.406 kB / 0.8622 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.432e-05/0.6343, allocations: 14 kB / 0.8622 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.6343, allocations: 13.03 kB / 0.8622 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000854/0.6351, allocations: 422.7 kB / 0.8626 GB, free: 4.922 MB / 0.5762 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.003371/0.6385, allocations: 2.726 MB / 0.8653 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008912/0.6394, allocations: 442 kB / 0.8657 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005849/0.64, allocations: 309.9 kB / 0.866 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.129e-05/0.6401, allocations: 17.42 kB / 0.866 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005088/0.6406, allocations: 275.3 kB / 0.8663 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.214e-06/0.6406, allocations: 0 / 0.8663 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.002561/0.6432, allocations: 1.152 MB / 0.8674 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.6432, allocations: 60.81 kB / 0.8675 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/0.6449, allocations: 1.76 MB / 0.8692 GB, free: 448 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/0.6449, allocations: 38.98 kB / 0.8692 GB, free: 408 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003998/0.6453, allocations: 0.526 MB / 0.8698 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.6455, allocations: 145.7 kB / 0.8699 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.6456, allocations: 94.47 kB / 0.87 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.6457, allocations: 333.4 kB / 0.8703 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004332/0.6462, allocations: 213.2 kB / 0.8705 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004957/0.6467, allocations: 335.7 kB / 0.8708 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008158/0.6475, allocations: 0.5116 MB / 0.8713 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.6475, allocations: 2.406 kB / 0.8713 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001423/0.6489, allocations: 0.8139 MB / 0.8721 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.649, allocations: 12.69 kB / 0.8721 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.649, allocations: 4.719 kB / 0.8721 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000382/0.6494, allocations: 134.6 kB / 0.8723 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/0.6498, allocations: 109.1 kB / 0.8724 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002783/0.6525, allocations: 2.608 MB / 0.8749 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004392/0.653, allocations: 80.05 kB / 0.875 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.662e-05/0.653, allocations: 23.33 kB / 0.875 GB, free: 11.91 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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_last,$PRE.mean.y_last,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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004509/0.6535, allocations: 395.1 kB / 0.8754 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.6536, allocations: 119.6 kB / 0.8755 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.6539, allocations: 143.4 kB / 0.8756 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.6539, allocations: 5.781 kB / 0.8757 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.6539, allocations: 2.094 kB / 0.8757 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.6539, allocations: 3.984 kB / 0.8757 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/0.6561, allocations: 1.489 MB / 0.8771 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6561, allocations: 0 / 0.8771 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.6563, allocations: 44.69 kB / 0.8772 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000373/0.6567, allocations: 164.6 kB / 0.8773 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.312e-05/0.6567, allocations: 12.3 kB / 0.8773 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003669/0.6604, allocations: 4.028 MB / 0.8813 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.6604, allocations: 4 kB / 0.8813 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.6621, allocations: 0.9953 MB / 0.8822 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002609/0.6624, allocations: 213.7 kB / 0.8824 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.6625, allocations: 12.88 kB / 0.8824 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003408/0.6628, allocations: 41.92 kB / 0.8825 GB, free: 5.891 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/0.663, allocations: 54.42 kB / 0.8825 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.521e-05/0.663, allocations: 10 kB / 0.8825 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001279/0.6643, allocations: 1.294 MB / 0.8838 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6643, allocations: 0 / 0.8838 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007338/0.665, allocations: 196.7 kB / 0.884 GB, free: 5.223 MB / 0.5919 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_last) * 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,12,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.001095/0.6661, allocations: 492.5 kB / 0.8845 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001447/0.6676, allocations: 0.6976 MB / 0.8852 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.6676, allocations: 0.875 kB / 0.8852 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008339/0.6685, allocations: 0.5208 MB / 0.8857 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009921/0.6695, allocations: 197.7 kB / 0.8858 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003791/0.6733, allocations: 2.685 MB / 0.8885 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009037/0.6742, allocations: 1.153 MB / 0.8896 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003088/0.6745, allocations: 92.77 kB / 0.8897 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.6746, allocations: 47.44 kB / 0.8897 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of SimCode: time 2.8e-07/0.6746, allocations: 4 kB / 0.8897 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of Templates: time 0.01842/0.6931, allocations: 9.797 MB / 0.8993 GB, free: 6.039 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)