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.001448/0.001448, allocations: 104.9 kB / 15.99 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.001424/0.001424, allocations: 199 kB / 16.91 MB, free: 6.188 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.319/1.319, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002435/0.002435, allocations: 281.6 kB / 291 MB, free: 14.51 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.128/1.128, allocations: 178.5 MB / 0.5076 GB, free: 12.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002607/0.002607, allocations: 103.8 kB / 0.6066 GB, free: 9.648 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1665, allocations: 89.14 MB / 0.6936 GB, free: 436 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.4121/0.5787, allocations: 154.8 MB / 0.8448 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02654/0.6052, allocations: 21.64 MB / 0.866 GB, free: 8.91 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/0.6073, allocations: 49.69 kB / 0.866 GB, free: 8.891 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001602/0.609, allocations: 1.308 MB / 0.8673 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001522/0.6105, allocations: 0.9236 MB / 0.8682 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.6117, allocations: 464.3 kB / 0.8686 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001589/0.6133, allocations: 1.431 MB / 0.87 GB, free: 5.84 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009633/0.6143, allocations: 0.7886 MB / 0.8708 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007998/0.6151, allocations: 0.6503 MB / 0.8714 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.6164, allocations: 1.144 MB / 0.8726 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.6165, allocations: 76 kB / 0.8726 GB, free: 3.199 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002714/0.6168, allocations: 124 kB / 0.8728 GB, free: 3.078 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003494/0.6171, allocations: 396.5 kB / 0.8731 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005089/0.6177, allocations: 0.5588 MB / 0.8737 GB, free: 2.129 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.6188, allocations: 1.049 MB / 0.8747 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.6188, allocations: 0 / 0.8747 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6188, allocations: 0 / 0.8747 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.6188, allocations: 0 / 0.8747 GB, free: 1.078 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.002537/0.6213, allocations: 1.694 MB / 0.8764 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.6214, allocations: 8.031 kB / 0.8764 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002605/0.6216, allocations: 159 kB / 0.8765 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009242/0.6226, allocations: 0.7439 MB / 0.8772 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.6227, allocations: 82.67 kB / 0.8773 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.919e-05/0.6228, allocations: 52 kB / 0.8774 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.6239, allocations: 0.5692 MB / 0.8779 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.6239, allocations: 3.938 kB / 0.8779 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.799e-05/0.624, allocations: 16 kB / 0.8779 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.624, allocations: 12 kB / 0.878 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000914/0.6249, allocations: 451.7 kB / 0.8784 GB, free: 13.17 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.003912/0.6288, allocations: 3.017 MB / 0.8813 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.6299, allocations: 0.4919 MB / 0.8818 GB, free: 9.383 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006131/0.6306, allocations: 317.4 kB / 0.8821 GB, free: 9.07 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.31e-05/0.6306, allocations: 4.375 kB / 0.8821 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006376/0.6313, allocations: 329.2 kB / 0.8824 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=52): time 1.934e-06/0.6313, allocations: 0 / 0.8824 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of matching and sorting (n=52): time 0.0032/0.6345, allocations: 1.352 MB / 0.8838 GB, free: 7.332 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.6345, allocations: 55.84 kB / 0.8838 GB, free: 7.266 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002239/0.6368, allocations: 2.116 MB / 0.8859 GB, free: 5.137 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.847e-05/0.6369, allocations: 41.7 kB / 0.8859 GB, free: 5.09 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005432/0.6374, allocations: 0.6245 MB / 0.8865 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.6376, allocations: 165.7 kB / 0.8867 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.6377, allocations: 106.2 kB / 0.8868 GB, free: 4.184 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.6379, allocations: 329.9 kB / 0.8871 GB, free: 3.855 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005143/0.6384, allocations: 237.2 kB / 0.8873 GB, free: 3.625 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006058/0.639, allocations: 357.8 kB / 0.8877 GB, free: 3.234 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000994/0.64, allocations: 0.544 MB / 0.8882 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.6401, allocations: 0.5469 kB / 0.8882 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001792/0.6418, allocations: 0.9076 MB / 0.8891 GB, free: 1.734 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.6419, allocations: 8 kB / 0.8891 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.6419, allocations: 12.08 kB / 0.8891 GB, free: 1.715 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005426/0.6424, allocations: 193.3 kB / 0.8893 GB, free: 1.523 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003916/0.6428, allocations: 107.7 kB / 0.8894 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003907/0.6468, allocations: 3.043 MB / 0.8924 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000527/0.6473, allocations: 87.45 kB / 0.8924 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.15e-05/0.6474, allocations: 24 kB / 0.8925 GB, free: 14.13 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.000593/0.648, allocations: 444.1 kB / 0.8929 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.6481, allocations: 142.2 kB / 0.893 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.6484, allocations: 170 kB / 0.8932 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.6484, allocations: 4 kB / 0.8932 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.6484, allocations: 7.938 kB / 0.8932 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.6485, allocations: 0 / 0.8932 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002704/0.6512, allocations: 1.738 MB / 0.8949 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.6512, allocations: 0 / 0.8949 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.6514, allocations: 43.97 kB / 0.8949 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004768/0.6519, allocations: 209.5 kB / 0.8951 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.522e-05/0.6519, allocations: 8 kB / 0.8951 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004665/0.6566, allocations: 4.602 MB / 0.8996 GB, free: 6.426 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.6566, allocations: 0 / 0.8996 GB, free: 6.426 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002077/0.6587, allocations: 1.169 MB / 0.9008 GB, free: 5.23 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003094/0.659, allocations: 239.2 kB / 0.901 GB, free: 4.977 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.6592, allocations: 16.23 kB / 0.901 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003671/0.6595, allocations: 43.86 kB / 0.9011 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.6597, allocations: 56.36 kB / 0.9011 GB, free: 4.863 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-05/0.6597, allocations: 27.97 kB / 0.9011 GB, free: 4.836 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001706/0.6614, allocations: 1.541 MB / 0.9027 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6614, allocations: 0 / 0.9027 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000814/0.6623, allocations: 231.6 kB / 0.9029 GB, free: 3.07 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.00169/0.664, allocations: 483.2 kB / 0.9033 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001788/0.6658, allocations: 0.8138 MB / 0.9041 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6658, allocations: 0.5625 kB / 0.9041 GB, free: 1.957 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009793/0.6668, allocations: 0.5816 MB / 0.9047 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.6679, allocations: 236.6 kB / 0.9049 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004535/0.6724, allocations: 3.235 MB / 0.9081 GB, free: 13.85 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009207/0.6733, allocations: 1.224 MB / 0.9093 GB, free: 12.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.6735, allocations: 55.42 kB / 0.9093 GB, free: 12.55 MB / 0.67 GB Notification: Performance of SimCode: time 3.31e-07/0.6735, allocations: 0 / 0.9093 GB, free: 12.55 MB / 0.67 GB Notification: Performance of Templates: time 0.02831/0.7018, allocations: 20.39 MB / 0.9292 GB, free: 8.203 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)