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.001763/0.001763, 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.001861/0.001861, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.512/1.512, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00257/0.00257, allocations: 294.9 kB / 290.4 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.059/1.059, allocations: 178.6 MB / 0.5069 GB, free: 4.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002776/0.002776, allocations: 100.6 kB / 0.6059 GB, free: 25.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1565, allocations: 89.15 MB / 0.693 GB, free: 4.738 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.4511/0.6076, allocations: 154.8 MB / 0.8442 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02922/0.6369, allocations: 21.63 MB / 0.8653 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00198/0.6389, allocations: 56.38 kB / 0.8654 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00168/0.6407, allocations: 1.304 MB / 0.8666 GB, free: 6.227 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001589/0.6423, allocations: 0.9317 MB / 0.8676 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001271/0.6435, allocations: 454.2 kB / 0.868 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001444/0.645, allocations: 1.424 MB / 0.8694 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008934/0.6459, allocations: 0.7885 MB / 0.8701 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007524/0.6467, allocations: 0.6537 MB / 0.8708 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.6478, allocations: 1.147 MB / 0.8719 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.822e-05/0.6479, allocations: 73.12 kB / 0.872 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002634/0.6482, allocations: 120.5 kB / 0.8721 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003336/0.6485, allocations: 397.1 kB / 0.8725 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004728/0.649, allocations: 0.5552 MB / 0.873 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.6504, allocations: 1.35 MB / 0.8743 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6504, allocations: 0 / 0.8743 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6504, allocations: 2.406 kB / 0.8743 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.35e-05/0.6504, allocations: 0 / 0.8743 GB, free: 1.605 MB / 0.5919 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.002539/0.653, allocations: 1.682 MB / 0.876 GB, free: 300 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.653, allocations: 11.97 kB / 0.876 GB, free: 296 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002551/0.6533, allocations: 160.3 kB / 0.8761 GB, free: 212 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009685/0.6543, allocations: 0.7487 MB / 0.8769 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/0.6544, allocations: 74.69 kB / 0.8769 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.51e-05/0.6545, allocations: 55.98 kB / 0.877 GB, free: 15.4 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.6557, allocations: 0.5692 MB / 0.8776 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.6557, allocations: 3.938 kB / 0.8776 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.469e-05/0.6558, allocations: 23.98 kB / 0.8776 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.6558, allocations: 12 kB / 0.8776 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009675/0.6567, allocations: 439.7 kB / 0.878 GB, free: 14.35 MB / 0.6075 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.00418/0.6609, allocations: 3.017 MB / 0.881 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.6621, allocations: 0.4921 MB / 0.8814 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006681/0.6628, allocations: 318.2 kB / 0.8817 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.709e-05/0.6629, allocations: 8.375 kB / 0.8817 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006897/0.6636, allocations: 317.2 kB / 0.882 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=52): time 2.525e-06/0.6636, allocations: 4 kB / 0.8821 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of matching and sorting (n=52): time 0.003401/0.667, allocations: 1.356 MB / 0.8834 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.667, allocations: 59.84 kB / 0.8834 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00245/0.6695, allocations: 2.112 MB / 0.8855 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.082e-05/0.6696, allocations: 37.7 kB / 0.8855 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005898/0.6702, allocations: 0.6245 MB / 0.8861 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.6704, allocations: 162.3 kB / 0.8863 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.6705, allocations: 106.3 kB / 0.8864 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.6707, allocations: 341.8 kB / 0.8867 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005464/0.6713, allocations: 229.2 kB / 0.8869 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006491/0.6719, allocations: 349.8 kB / 0.8873 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.673, allocations: 0.5534 MB / 0.8878 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.673, allocations: 0 / 0.8878 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001903/0.6749, allocations: 0.914 MB / 0.8887 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.675, allocations: 4 kB / 0.8887 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.675, allocations: 8 kB / 0.8887 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005611/0.6755, allocations: 202.8 kB / 0.8889 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004038/0.676, allocations: 103.9 kB / 0.889 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00403/0.68, allocations: 3.053 MB / 0.892 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005011/0.6805, allocations: 91.44 kB / 0.8921 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/0.6806, allocations: 24 kB / 0.8921 GB, free: 15.29 MB / 0.6231 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.0006392/0.6812, allocations: 435.7 kB / 0.8925 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.6814, allocations: 130.3 kB / 0.8926 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.6817, allocations: 170 kB / 0.8928 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.6817, allocations: 8 kB / 0.8928 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/0.6817, allocations: 7.938 kB / 0.8928 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.6817, allocations: 3.984 kB / 0.8928 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002904/0.6846, allocations: 1.734 MB / 0.8945 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.6846, allocations: 0 / 0.8945 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002491/0.6849, allocations: 47.95 kB / 0.8946 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005168/0.6854, allocations: 201.5 kB / 0.8948 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-05/0.6855, allocations: 19.98 kB / 0.8948 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005279/0.6907, allocations: 4.61 MB / 0.8993 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.6908, allocations: 0 / 0.8993 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002177/0.6929, allocations: 1.158 MB / 0.9004 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003047/0.6933, allocations: 243.2 kB / 0.9006 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/0.6934, allocations: 19.98 kB / 0.9007 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.6938, allocations: 35.88 kB / 0.9007 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.6939, allocations: 60.34 kB / 0.9008 GB, free: 6.031 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.304e-05/0.694, allocations: 12 kB / 0.9008 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001895/0.6959, allocations: 1.556 MB / 0.9023 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6959, allocations: 0 / 0.9023 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008755/0.6968, allocations: 227.6 kB / 0.9025 GB, free: 4.242 MB / 0.6231 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.001822/0.6986, allocations: 490.5 kB / 0.903 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001972/0.7006, allocations: 0.8035 MB / 0.9038 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7006, allocations: 0 / 0.9038 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.7017, allocations: 0.5858 MB / 0.9043 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.7029, allocations: 243.1 kB / 0.9046 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004878/0.7078, allocations: 3.166 MB / 0.9076 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/0.7089, allocations: 1.243 MB / 0.9089 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003588/0.7092, allocations: 101.1 kB / 0.909 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.7094, allocations: 51.42 kB / 0.909 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of SimCode: time 6.72e-07/0.7094, allocations: 0 / 0.909 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of Templates: time 0.02239/0.7318, allocations: 11.22 MB / 0.92 GB, free: 2.605 MB / 0.6387 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)