Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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.TestCase7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 117.7 kB / 16.37 MB, free: 6 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.001134/0.001134, allocations: 193.5 kB / 17.31 MB, free: 5.613 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.217/1.217, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002056/0.002056, allocations: 286.2 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8883/0.8883, allocations: 169.2 MB / 0.4989 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 95.3 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1451, allocations: 86.97 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.4193/0.5644, allocations: 157.9 MB / 0.8358 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02355/0.588, allocations: 22.12 MB / 0.8574 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/0.5897, allocations: 67.62 kB / 0.8574 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001652/0.5914, allocations: 1.387 MB / 0.8588 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.5929, allocations: 1.008 MB / 0.8598 GB, free: 8.008 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.5944, allocations: 0.6425 MB / 0.8604 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002019/0.5964, allocations: 1.7 MB / 0.8621 GB, free: 5.668 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001422/0.5978, allocations: 0.9644 MB / 0.863 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009326/0.5988, allocations: 0.7319 MB / 0.8637 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.5999, allocations: 1.195 MB / 0.8649 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001217/0.6, allocations: 96 kB / 0.865 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000275/0.6003, allocations: 140 kB / 0.8651 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003263/0.6007, allocations: 420.3 kB / 0.8655 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005206/0.6012, allocations: 0.6481 MB / 0.8661 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.6026, allocations: 1.606 MB / 0.8677 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6026, allocations: 0 / 0.8677 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6026, allocations: 0 / 0.8677 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.706e-05/0.6026, allocations: 0 / 0.8677 GB, free: 15.85 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002754/0.6054, allocations: 1.913 MB / 0.8696 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.6054, allocations: 8.031 kB / 0.8696 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002843/0.6057, allocations: 182.7 kB / 0.8698 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/0.607, allocations: 0.8868 MB / 0.8706 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.6071, allocations: 87 kB / 0.8707 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.6072, allocations: 71.89 kB / 0.8708 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.6084, allocations: 0.7176 MB / 0.8715 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.6085, allocations: 0 / 0.8715 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.607e-05/0.6085, allocations: 35.98 kB / 0.8715 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.457e-05/0.6086, allocations: 16 kB / 0.8715 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.6096, allocations: 0.5437 MB / 0.8721 GB, free: 11.26 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.00413/0.6138, allocations: 3.609 MB / 0.8756 GB, free: 7.371 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.615, allocations: 0.6157 MB / 0.8762 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006597/0.6157, allocations: 374.7 kB / 0.8765 GB, free: 6.379 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.825e-05/0.6157, allocations: 12.55 kB / 0.8766 GB, free: 6.367 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006644/0.6164, allocations: 379 kB / 0.8769 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=65): time 3.326e-06/0.6164, allocations: 0 / 0.8769 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of matching and sorting (n=65): time 0.004512/0.6209, allocations: 1.781 MB / 0.8787 GB, free: 4.16 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.621, allocations: 59.97 kB / 0.8787 GB, free: 4.09 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002118/0.6231, allocations: 2.259 MB / 0.8809 GB, free: 1.824 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.716e-05/0.6232, allocations: 41.7 kB / 0.881 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005197/0.6237, allocations: 0.7186 MB / 0.8817 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.6238, allocations: 213.1 kB / 0.8819 GB, free: 0.8398 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.624, allocations: 126.6 kB / 0.882 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.6241, allocations: 337.9 kB / 0.8823 GB, free: 380 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000563/0.6247, allocations: 277.8 kB / 0.8826 GB, free: 104 kB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006703/0.6254, allocations: 420.8 kB / 0.883 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.6265, allocations: 0.6682 MB / 0.8836 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6265, allocations: 0 / 0.8836 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002058/0.6286, allocations: 1.114 MB / 0.8847 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.6286, allocations: 11.94 kB / 0.8847 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.6286, allocations: 4 kB / 0.8847 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007552/0.6294, allocations: 271.9 kB / 0.885 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/0.6298, allocations: 127.8 kB / 0.8851 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004928/0.6347, allocations: 3.689 MB / 0.8887 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004607/0.6352, allocations: 99.17 kB / 0.8888 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/0.6352, allocations: 24 kB / 0.8888 GB, free: 9.461 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (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,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0004928/0.6357, allocations: 460.6 kB / 0.8893 GB, free: 9.004 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.6359, allocations: 154 kB / 0.8894 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.6362, allocations: 191.6 kB / 0.8896 GB, free: 8.652 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.6362, allocations: 8 kB / 0.8896 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6362, allocations: 0 / 0.8896 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.6362, allocations: 11.91 kB / 0.8896 GB, free: 8.633 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003131/0.6393, allocations: 2.041 MB / 0.8916 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.6393, allocations: 0 / 0.8916 GB, free: 6.527 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/0.6396, allocations: 59.83 kB / 0.8917 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006916/0.6403, allocations: 276.2 kB / 0.8919 GB, free: 6.195 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.605e-05/0.6404, allocations: 23.98 kB / 0.892 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005483/0.6459, allocations: 5.223 MB / 0.8971 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.6459, allocations: 0 / 0.8971 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002372/0.6483, allocations: 1.41 MB / 0.8984 GB, free: 15.24 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000352/0.6486, allocations: 259 kB / 0.8987 GB, free: 14.97 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.6488, allocations: 23.92 kB / 0.8987 GB, free: 14.95 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003822/0.6491, allocations: 39.97 kB / 0.8987 GB, free: 14.91 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.6493, allocations: 64.47 kB / 0.8988 GB, free: 14.84 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-05/0.6493, allocations: 23.98 kB / 0.8988 GB, free: 14.82 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001536/0.6509, allocations: 1.631 MB / 0.9004 GB, free: 13.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6509, allocations: 0 / 0.9004 GB, free: 13.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007628/0.6517, allocations: 271.5 kB / 0.9007 GB, free: 12.93 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,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 (39): * Single equations (assignments): 29 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001011/0.6527, allocations: 481.3 kB / 0.9011 GB, free: 12.64 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001665/0.6544, allocations: 0.9055 MB / 0.902 GB, free: 11.72 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6544, allocations: 0 / 0.902 GB, free: 11.72 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.6554, allocations: 0.6831 MB / 0.9027 GB, free: 11.01 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.6565, allocations: 291.4 kB / 0.903 GB, free: 10.73 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003859/0.6603, allocations: 3.071 MB / 0.906 GB, free: 7.633 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008513/0.6612, allocations: 1.314 MB / 0.9073 GB, free: 6.285 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002865/0.6615, allocations: 126.4 kB / 0.9074 GB, free: 6.156 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.6616, allocations: 59.44 kB / 0.9074 GB, free: 6.102 MB / 0.67 GB Notification: Performance of SimCode: time 3.11e-07/0.6616, allocations: 3.938 kB / 0.9074 GB, free: 6.098 MB / 0.67 GB Notification: Performance of Templates: time 0.02411/0.6858, allocations: 14.96 MB / 0.922 GB, free: 7.32 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1)