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.0009707/0.0009708, allocations: 107.5 kB / 16.36 MB, free: 5.875 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.0009507/0.0009507, allocations: 196.3 kB / 17.3 MB, free: 5.516 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.263/1.263, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002004/0.002004, allocations: 300.3 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9038/0.9038, allocations: 169.2 MB / 0.4989 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 88.67 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1495, allocations: 86.98 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.41/0.5595, allocations: 157 MB / 0.8349 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0232/0.5828, allocations: 21.88 MB / 0.8563 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001782/0.5846, allocations: 59.69 kB / 0.8564 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001606/0.5862, allocations: 1.336 MB / 0.8577 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.5876, allocations: 0.973 MB / 0.8586 GB, free: 9.172 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.5887, allocations: 0.5032 MB / 0.8591 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001193/0.5899, allocations: 1.44 MB / 0.8605 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007758/0.5907, allocations: 0.7735 MB / 0.8613 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006163/0.5913, allocations: 0.6425 MB / 0.8619 GB, free: 5.809 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001008/0.5924, allocations: 1.105 MB / 0.863 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.5925, allocations: 72 kB / 0.863 GB, free: 4.633 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.5927, allocations: 124 kB / 0.8632 GB, free: 4.512 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000278/0.593, allocations: 372.5 kB / 0.8635 GB, free: 4.148 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004287/0.5934, allocations: 0.5627 MB / 0.8641 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.5946, allocations: 1.365 MB / 0.8654 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5946, allocations: 0 / 0.8654 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of FrontEnd: time 9.32e-07/0.5946, allocations: 0 / 0.8654 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.76e-05/0.5946, allocations: 0 / 0.8654 GB, free: 2.215 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.002315/0.5969, allocations: 1.683 MB / 0.867 GB, free: 484 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.597, allocations: 16.03 kB / 0.8671 GB, free: 468 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002344/0.5972, allocations: 155 kB / 0.8672 GB, free: 312 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009839/0.5982, allocations: 0.7518 MB / 0.8679 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.5983, allocations: 78.69 kB / 0.868 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.355e-05/0.5984, allocations: 48 kB / 0.8681 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000949/0.5994, allocations: 0.5769 MB / 0.8686 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.5994, allocations: 7.844 kB / 0.8686 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.838e-05/0.5995, allocations: 24 kB / 0.8686 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.629e-05/0.5995, allocations: 12 kB / 0.8687 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008094/0.6003, allocations: 447.7 kB / 0.8691 GB, free: 14.3 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.003486/0.6038, allocations: 2.994 MB / 0.872 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009927/0.6048, allocations: 0.4953 MB / 0.8725 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005315/0.6054, allocations: 310.3 kB / 0.8728 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.945e-05/0.6054, allocations: 12.36 kB / 0.8728 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005628/0.606, allocations: 325 kB / 0.8731 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=52): time 3.066e-06/0.606, allocations: 0 / 0.8731 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of matching and sorting (n=52): time 0.002883/0.6089, allocations: 1.352 MB / 0.8744 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.609, allocations: 59.84 kB / 0.8745 GB, free: 8.414 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001963/0.6109, allocations: 2.112 MB / 0.8766 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/0.611, allocations: 37.7 kB / 0.8766 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000473/0.6115, allocations: 0.6284 MB / 0.8772 GB, free: 5.609 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.6116, allocations: 169.7 kB / 0.8774 GB, free: 5.441 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.6118, allocations: 110.3 kB / 0.8775 GB, free: 5.328 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.6119, allocations: 329.9 kB / 0.8778 GB, free: 5 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004625/0.6124, allocations: 229.2 kB / 0.878 GB, free: 4.777 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005305/0.6129, allocations: 349.9 kB / 0.8783 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008707/0.6138, allocations: 0.5452 MB / 0.8789 GB, free: 3.812 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6138, allocations: 4 kB / 0.8789 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001568/0.6154, allocations: 0.9135 MB / 0.8798 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.6154, allocations: 8 kB / 0.8798 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.6154, allocations: 0 / 0.8798 GB, free: 2.879 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005295/0.6159, allocations: 196.8 kB / 0.88 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003567/0.6163, allocations: 104.4 kB / 0.8801 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003304/0.6196, allocations: 3.044 MB / 0.883 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004161/0.6201, allocations: 87.48 kB / 0.8831 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.828e-05/0.6201, allocations: 20 kB / 0.8831 GB, free: 15.3 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.0004992/0.6206, allocations: 436.7 kB / 0.8835 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.6207, allocations: 142.2 kB / 0.8837 GB, free: 14.72 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.621, allocations: 166 kB / 0.8838 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.621, allocations: 8 kB / 0.8839 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/0.621, allocations: 7.938 kB / 0.8839 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.621, allocations: 4 kB / 0.8839 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002491/0.6235, allocations: 1.738 MB / 0.8856 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.6235, allocations: 0 / 0.8856 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.6238, allocations: 55.91 kB / 0.8856 GB, free: 12.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004484/0.6242, allocations: 196.5 kB / 0.8858 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/0.6243, allocations: 16 kB / 0.8858 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004125/0.6284, allocations: 4.6 MB / 0.8903 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6284, allocations: 0 / 0.8903 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001785/0.6302, allocations: 1.167 MB / 0.8914 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003118/0.6305, allocations: 243.3 kB / 0.8917 GB, free: 6.141 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-05/0.6306, allocations: 12.23 kB / 0.8917 GB, free: 6.129 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003216/0.631, allocations: 31.97 kB / 0.8917 GB, free: 6.098 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.6311, allocations: 60.34 kB / 0.8918 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.319e-05/0.6312, allocations: 19.98 kB / 0.8918 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001461/0.6326, allocations: 1.549 MB / 0.8933 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6326, allocations: 0 / 0.8933 GB, free: 4.473 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007398/0.6334, allocations: 215.6 kB / 0.8935 GB, free: 4.262 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.001071/0.6345, allocations: 0.4913 MB / 0.894 GB, free: 3.949 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001451/0.6359, allocations: 0.7571 MB / 0.8947 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.6359, allocations: 4.188 kB / 0.8947 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008369/0.6368, allocations: 0.5815 MB / 0.8953 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009254/0.6377, allocations: 232.4 kB / 0.8955 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/0.6413, allocations: 2.776 MB / 0.8982 GB, free: 15.54 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007649/0.6421, allocations: 1.243 MB / 0.8995 GB, free: 14.27 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002633/0.6423, allocations: 105 kB / 0.8996 GB, free: 14.17 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.6425, allocations: 55.42 kB / 0.8996 GB, free: 14.11 MB / 0.67 GB Notification: Performance of SimCode: time 3.81e-07/0.6425, allocations: 4 kB / 0.8996 GB, free: 14.11 MB / 0.67 GB Notification: Performance of Templates: time 0.01876/0.6612, allocations: 11.46 MB / 0.9108 GB, free: 2.816 MB / 0.67 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)