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.001218/0.001218, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001128/0.001128, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.274/1.274, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002062/0.002062, allocations: 285.7 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9062/0.9062, allocations: 169.3 MB / 0.4988 GB, free: 4.52 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 97.91 kB / 0.5959 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.155, allocations: 86.97 MB / 0.6808 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.4327/0.5878, allocations: 157 MB / 0.8342 GB, free: 2 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02417/0.612, allocations: 21.87 MB / 0.8555 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001806/0.6138, allocations: 55.69 kB / 0.8556 GB, free: 12 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001745/0.6156, allocations: 1.344 MB / 0.8569 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.6173, allocations: 0.9691 MB / 0.8578 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.6187, allocations: 0.5088 MB / 0.8583 GB, free: 9.18 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001619/0.6203, allocations: 1.43 MB / 0.8597 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.6214, allocations: 0.7791 MB / 0.8605 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009187/0.6223, allocations: 0.6425 MB / 0.8611 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001257/0.6236, allocations: 1.102 MB / 0.8622 GB, free: 5.215 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001707/0.6238, allocations: 72 kB / 0.8623 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003415/0.6241, allocations: 128 kB / 0.8624 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003043/0.6244, allocations: 376.5 kB / 0.8627 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000539/0.625, allocations: 0.5549 MB / 0.8633 GB, free: 4.094 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.6262, allocations: 1.347 MB / 0.8646 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.6262, allocations: 0 / 0.8646 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6262, allocations: 0 / 0.8646 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.805e-05/0.6262, allocations: 0 / 0.8646 GB, free: 2.742 MB / 0.6231 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.002587/0.6288, allocations: 1.683 MB / 0.8662 GB, free: 1 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.6289, allocations: 8.031 kB / 0.8663 GB, free: 0.9922 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002715/0.6291, allocations: 159 kB / 0.8664 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.6302, allocations: 0.7478 MB / 0.8671 GB, free: 40 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/0.6304, allocations: 74.69 kB / 0.8672 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.6305, allocations: 52 kB / 0.8673 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.6315, allocations: 0.573 MB / 0.8678 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.6316, allocations: 3.906 kB / 0.8678 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.447e-05/0.6316, allocations: 23.98 kB / 0.8678 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.6317, allocations: 12 kB / 0.8679 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009412/0.6326, allocations: 443.7 kB / 0.8683 GB, free: 14.85 MB / 0.6387 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.003747/0.6364, allocations: 3.018 MB / 0.8712 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.6374, allocations: 499.5 kB / 0.8717 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005684/0.638, allocations: 313.4 kB / 0.872 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.016e-05/0.638, allocations: 12.34 kB / 0.872 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005837/0.6386, allocations: 333 kB / 0.8723 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=52): time 1.954e-06/0.6386, allocations: 0 / 0.8723 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=52): time 0.00295/0.6416, allocations: 1.34 MB / 0.8736 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.6416, allocations: 63.84 kB / 0.8737 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001997/0.6436, allocations: 2.112 MB / 0.8758 GB, free: 6.816 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.223e-05/0.6437, allocations: 41.7 kB / 0.8758 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004477/0.6441, allocations: 0.6245 MB / 0.8764 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.6443, allocations: 174.2 kB / 0.8766 GB, free: 5.965 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.6444, allocations: 102.3 kB / 0.8767 GB, free: 5.859 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.6445, allocations: 333.9 kB / 0.877 GB, free: 5.527 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004975/0.6451, allocations: 233.2 kB / 0.8772 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005425/0.6456, allocations: 349.9 kB / 0.8776 GB, free: 4.918 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009309/0.6465, allocations: 0.5534 MB / 0.8781 GB, free: 4.328 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.6466, allocations: 3.938 kB / 0.8781 GB, free: 4.324 MB / 0.6387 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001652/0.6482, allocations: 0.9035 MB / 0.879 GB, free: 3.41 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.6482, allocations: 10.5 kB / 0.879 GB, free: 3.402 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.6483, allocations: 4 kB / 0.879 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004976/0.6488, allocations: 202.2 kB / 0.8792 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/0.6491, allocations: 111.8 kB / 0.8793 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003284/0.6524, allocations: 3.039 MB / 0.8823 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004414/0.6529, allocations: 83.5 kB / 0.8823 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.001e-05/0.6529, allocations: 23.98 kB / 0.8824 GB, free: 15.8 MB / 0.6544 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.0004889/0.6534, allocations: 434.2 kB / 0.8828 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.6536, allocations: 138.2 kB / 0.8829 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002487/0.6539, allocations: 170 kB / 0.8831 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.6539, allocations: 8 kB / 0.8831 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.6539, allocations: 3.938 kB / 0.8831 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.6539, allocations: 7.984 kB / 0.8831 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002599/0.6565, allocations: 1.73 MB / 0.8848 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.6565, allocations: 0 / 0.8848 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.6568, allocations: 51.91 kB / 0.8848 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004681/0.6572, allocations: 206.3 kB / 0.885 GB, free: 13 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.6573, allocations: 15.98 kB / 0.885 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004104/0.6614, allocations: 4.604 MB / 0.8895 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.6614, allocations: 3.984 kB / 0.8895 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.6633, allocations: 1.158 MB / 0.8907 GB, free: 6.914 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002891/0.6636, allocations: 243.4 kB / 0.8909 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.6637, allocations: 12 kB / 0.8909 GB, free: 6.645 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/0.6641, allocations: 35.95 kB / 0.8909 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.6642, allocations: 56.36 kB / 0.891 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.209e-05/0.6643, allocations: 15.98 kB / 0.891 GB, free: 6.539 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001874/0.6662, allocations: 1.56 MB / 0.8925 GB, free: 4.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.51e-07/0.6662, allocations: 0 / 0.8925 GB, free: 4.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007772/0.667, allocations: 219.6 kB / 0.8927 GB, free: 4.766 MB / 0.6544 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.001055/0.668, allocations: 492.6 kB / 0.8932 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001669/0.6697, allocations: 0.8056 MB / 0.894 GB, free: 3.652 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6697, allocations: 0 / 0.894 GB, free: 3.652 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008831/0.6706, allocations: 0.5818 MB / 0.8946 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.6716, allocations: 239.9 kB / 0.8948 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003912/0.6756, allocations: 2.87 MB / 0.8976 GB, free: 15.91 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008067/0.6764, allocations: 1.232 MB / 0.8988 GB, free: 14.65 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.6765, allocations: 55.42 kB / 0.8989 GB, free: 14.59 MB / 0.67 GB Notification: Performance of SimCode: time 3.81e-07/0.6765, allocations: 0 / 0.8989 GB, free: 14.59 MB / 0.67 GB Notification: Performance of Templates: time 0.02464/0.7012, allocations: 20.38 MB / 0.9188 GB, free: 10.26 MB / 0.6856 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)