Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001115/0.001115, 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.001121/0.001121, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.305/1.305, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002077/0.002077, allocations: 294.4 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9325/0.9325, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 94.78 kB / 0.5947 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1354, allocations: 86.98 MB / 0.6796 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.4026/0.538, allocations: 154.8 MB / 0.8308 GB, free: 356 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0212/0.5592, allocations: 21.63 MB / 0.852 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002153/0.5614, allocations: 49.69 kB / 0.852 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001495/0.5629, allocations: 1.306 MB / 0.8533 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001345/0.5643, allocations: 0.9352 MB / 0.8542 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.5654, allocations: 454.3 kB / 0.8546 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001205/0.5666, allocations: 1.439 MB / 0.856 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007879/0.5674, allocations: 0.7713 MB / 0.8568 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000609/0.568, allocations: 0.6548 MB / 0.8574 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009457/0.569, allocations: 1.152 MB / 0.8586 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.286e-05/0.5691, allocations: 72.53 kB / 0.8586 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002391/0.5693, allocations: 116.8 kB / 0.8587 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002849/0.5696, allocations: 400.9 kB / 0.8591 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004048/0.57, allocations: 0.5629 MB / 0.8597 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.5711, allocations: 1.335 MB / 0.861 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.5711, allocations: 3 kB / 0.861 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.183e-06/0.5711, allocations: 7.938 kB / 0.861 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.426e-05/0.5712, allocations: 0 / 0.861 GB, free: 6.332 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002342/0.5735, allocations: 1.678 MB / 0.8626 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.5736, allocations: 10.41 kB / 0.8626 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002744/0.5738, allocations: 162 kB / 0.8628 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008997/0.5747, allocations: 0.7399 MB / 0.8635 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.5749, allocations: 90.23 kB / 0.8636 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.192e-05/0.575, allocations: 55.19 kB / 0.8636 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009673/0.5759, allocations: 0.5679 MB / 0.8642 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.576, allocations: 2.5 kB / 0.8642 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.726e-05/0.576, allocations: 17.5 kB / 0.8642 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.108e-06/0.576, allocations: 13.75 kB / 0.8642 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008161/0.5769, allocations: 448.6 kB / 0.8647 GB, free: 3.664 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.00333/0.5802, allocations: 3.006 MB / 0.8676 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00098/0.5812, allocations: 0.4941 MB / 0.8681 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005537/0.5818, allocations: 322.4 kB / 0.8684 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.712e-05/0.5818, allocations: 5.25 kB / 0.8684 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005795/0.5824, allocations: 332.2 kB / 0.8687 GB, free: 448 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=52): time 1.923e-06/0.5824, allocations: 0 / 0.8687 GB, free: 448 kB / 0.5762 GB Notification: Performance of matching and sorting (n=52): time 0.003056/0.5855, allocations: 1.349 MB / 0.87 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.5855, allocations: 57.91 kB / 0.8701 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/0.5874, allocations: 2.113 MB / 0.8721 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.461e-05/0.5875, allocations: 39.08 kB / 0.8722 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004452/0.5879, allocations: 0.627 MB / 0.8728 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.588, allocations: 168.6 kB / 0.873 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.5882, allocations: 103.8 kB / 0.8731 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5883, allocations: 334.6 kB / 0.8734 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004878/0.5888, allocations: 234.3 kB / 0.8736 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005324/0.5894, allocations: 349.4 kB / 0.8739 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009084/0.5903, allocations: 0.5548 MB / 0.8745 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.5903, allocations: 0 / 0.8745 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001675/0.592, allocations: 0.9091 MB / 0.8754 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.592, allocations: 14.03 kB / 0.8754 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.592, allocations: 2.281 kB / 0.8754 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005392/0.5926, allocations: 199.7 kB / 0.8756 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/0.5929, allocations: 105.4 kB / 0.8757 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003455/0.5964, allocations: 3.053 MB / 0.8786 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004353/0.5968, allocations: 80.39 kB / 0.8787 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.716e-05/0.5969, allocations: 25.34 kB / 0.8787 GB, free: 9.676 MB / 0.5919 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_last,$PRE.mean.y_last,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.0004748/0.5974, allocations: 442.7 kB / 0.8792 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.5975, allocations: 137 kB / 0.8793 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.5978, allocations: 163.1 kB / 0.8795 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.5978, allocations: 4.812 kB / 0.8795 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.947e-05/0.5978, allocations: 12.64 kB / 0.8795 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.5978, allocations: 3.984 kB / 0.8795 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002496/0.6003, allocations: 1.735 MB / 0.8812 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.6003, allocations: 2.25 kB / 0.8812 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.6006, allocations: 55.11 kB / 0.8812 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004404/0.601, allocations: 199.5 kB / 0.8814 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-05/0.6011, allocations: 12.92 kB / 0.8814 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00422/0.6053, allocations: 4.61 MB / 0.8859 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6053, allocations: 0 / 0.8859 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/0.6072, allocations: 1.158 MB / 0.8871 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002715/0.6075, allocations: 247.2 kB / 0.8873 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.6076, allocations: 12 kB / 0.8873 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.608, allocations: 43.95 kB / 0.8873 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.6082, allocations: 52.36 kB / 0.8874 GB, free: 1.988 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.567e-05/0.6082, allocations: 23.98 kB / 0.8874 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00157/0.6098, allocations: 1.545 MB / 0.8889 GB, free: 432 kB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6098, allocations: 0 / 0.8889 GB, free: 432 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007601/0.6106, allocations: 243.5 kB / 0.8892 GB, free: 188 kB / 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: 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_last) * 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.001122/0.6117, allocations: 482.6 kB / 0.8896 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001667/0.6134, allocations: 0.8035 MB / 0.8904 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.6134, allocations: 0 / 0.8904 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009184/0.6143, allocations: 0.578 MB / 0.891 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.6154, allocations: 227.4 kB / 0.8912 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004354/0.6198, allocations: 3.172 MB / 0.8943 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009114/0.6207, allocations: 1.247 MB / 0.8955 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003086/0.621, allocations: 105.1 kB / 0.8956 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.6212, allocations: 55.36 kB / 0.8957 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of SimCode: time 3.81e-07/0.6212, allocations: 0 / 0.8957 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of Templates: time 0.02056/0.6417, allocations: 11.23 MB / 0.9066 GB, free: 14.55 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)