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.001214/0.001214, allocations: 104 kB / 16.35 MB, free: 5.824 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.001215/0.001215, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.231/1.231, allocations: 222.9 MB / 241 MB, free: 15.16 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: 296.2 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.8861/0.8861, allocations: 169.3 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 93.92 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.148, allocations: 86.97 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.397/0.5451, allocations: 157 MB / 0.8349 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02237/0.5675, allocations: 21.87 MB / 0.8563 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/0.5691, allocations: 51.75 kB / 0.8563 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.5707, allocations: 1.348 MB / 0.8577 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.572, allocations: 0.9691 MB / 0.8586 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.5732, allocations: 0.5085 MB / 0.8591 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001572/0.5747, allocations: 1.434 MB / 0.8605 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009974/0.5757, allocations: 0.77 MB / 0.8613 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008734/0.5766, allocations: 0.6503 MB / 0.8619 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.5779, allocations: 1.105 MB / 0.863 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.578, allocations: 72 kB / 0.863 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003207/0.5783, allocations: 128 kB / 0.8632 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003196/0.5787, allocations: 376.5 kB / 0.8635 GB, free: 4.156 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004627/0.5791, allocations: 0.5471 MB / 0.8641 GB, free: 3.605 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.5803, allocations: 1.365 MB / 0.8654 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.5803, allocations: 0 / 0.8654 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.734e-06/0.5803, allocations: 4 kB / 0.8654 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.705e-05/0.5803, allocations: 0 / 0.8654 GB, free: 2.238 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.002369/0.5827, allocations: 1.684 MB / 0.867 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.5827, allocations: 8.031 kB / 0.867 GB, free: 500 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000231/0.583, allocations: 159 kB / 0.8672 GB, free: 340 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009562/0.5839, allocations: 0.7596 MB / 0.8679 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.5841, allocations: 74.69 kB / 0.868 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.405e-05/0.5842, allocations: 56 kB / 0.8681 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009501/0.5851, allocations: 0.5692 MB / 0.8686 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.5852, allocations: 7.844 kB / 0.8686 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/0.5852, allocations: 23.92 kB / 0.8686 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.5852, allocations: 15.98 kB / 0.8687 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008452/0.5861, allocations: 439.7 kB / 0.8691 GB, free: 14.33 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.003502/0.5896, allocations: 2.994 MB / 0.872 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009787/0.5906, allocations: 0.4954 MB / 0.8725 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005578/0.5912, allocations: 317.4 kB / 0.8728 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.5912, allocations: 8.359 kB / 0.8728 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005757/0.5918, allocations: 325.1 kB / 0.8731 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=52): time 2.585e-06/0.5918, allocations: 4 kB / 0.8731 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of matching and sorting (n=52): time 0.002923/0.5947, allocations: 1.344 MB / 0.8744 GB, free: 8.512 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.5948, allocations: 59.84 kB / 0.8745 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001985/0.5968, allocations: 2.112 MB / 0.8765 GB, free: 6.316 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.894e-05/0.5968, allocations: 41.7 kB / 0.8766 GB, free: 6.27 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004574/0.5973, allocations: 0.6245 MB / 0.8772 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.5974, allocations: 169.6 kB / 0.8774 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.5976, allocations: 102.3 kB / 0.8775 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.5977, allocations: 337.9 kB / 0.8778 GB, free: 5.027 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004829/0.5982, allocations: 233.2 kB / 0.878 GB, free: 4.801 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00055/0.5988, allocations: 345.8 kB / 0.8783 GB, free: 4.422 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009232/0.5997, allocations: 0.5491 MB / 0.8789 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5997, allocations: 0 / 0.8789 GB, free: 3.836 MB / 0.6387 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001616/0.6013, allocations: 0.9114 MB / 0.8798 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.6013, allocations: 4 kB / 0.8798 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.6014, allocations: 4 kB / 0.8798 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004911/0.6019, allocations: 203 kB / 0.88 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.6022, allocations: 103.8 kB / 0.8801 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003363/0.6056, allocations: 3.06 MB / 0.883 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004071/0.606, allocations: 75.42 kB / 0.8831 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-05/0.6061, allocations: 20 kB / 0.8831 GB, free: 15.32 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.0004609/0.6066, allocations: 444.7 kB / 0.8836 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.6067, allocations: 138.2 kB / 0.8837 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.6069, allocations: 169.9 kB / 0.8839 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.6069, allocations: 4 kB / 0.8839 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/0.607, allocations: 7.938 kB / 0.8839 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.607, allocations: 0 / 0.8839 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/0.6095, allocations: 1.735 MB / 0.8856 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.6096, allocations: 4 kB / 0.8856 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.6098, allocations: 47.97 kB / 0.8856 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004512/0.6102, allocations: 198.4 kB / 0.8858 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.666e-05/0.6103, allocations: 12 kB / 0.8858 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004136/0.6144, allocations: 4.608 MB / 0.8903 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.6145, allocations: 0 / 0.8903 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.6163, allocations: 1.167 MB / 0.8914 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003012/0.6166, allocations: 239.3 kB / 0.8917 GB, free: 6.164 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.73e-05/0.6167, allocations: 16 kB / 0.8917 GB, free: 6.148 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003212/0.6171, allocations: 27.97 kB / 0.8917 GB, free: 6.121 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.6172, allocations: 60.34 kB / 0.8918 GB, free: 6.062 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.6172, allocations: 20 kB / 0.8918 GB, free: 6.043 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001446/0.6187, allocations: 1.545 MB / 0.8933 GB, free: 4.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6187, allocations: 0 / 0.8933 GB, free: 4.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006913/0.6194, allocations: 223.6 kB / 0.8935 GB, free: 4.281 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.001038/0.6204, allocations: 0.4906 MB / 0.894 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001418/0.6219, allocations: 0.7607 MB / 0.8947 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6219, allocations: 0 / 0.8947 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008696/0.6228, allocations: 0.5781 MB / 0.8953 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009449/0.6237, allocations: 234.2 kB / 0.8955 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00355/0.6273, allocations: 2.773 MB / 0.8982 GB, free: 15.57 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008079/0.6281, allocations: 1.25 MB / 0.8995 GB, free: 14.29 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002468/0.6283, allocations: 97.09 kB / 0.8995 GB, free: 14.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.6285, allocations: 47.42 kB / 0.8996 GB, free: 14.15 MB / 0.67 GB Notification: Performance of SimCode: time 2.5e-07/0.6285, allocations: 3.938 kB / 0.8996 GB, free: 14.14 MB / 0.67 GB Notification: Performance of Templates: time 0.01881/0.6473, allocations: 11.46 MB / 0.9108 GB, free: 2.848 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)