Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001767/0.001767, allocations: 198.5 kB / 16.14 MB, free: 6.707 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.352/1.352, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002031/0.002031, allocations: 284 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9165/0.9165, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 90.48 kB / 0.5945 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1446, allocations: 86.98 MB / 0.6794 GB, free: 1.18 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.4873/0.6319, allocations: 154.4 MB / 0.8303 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02401/0.656, allocations: 21.66 MB / 0.8514 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00274/0.6588, allocations: 50.25 kB / 0.8515 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.6606, allocations: 1.13 MB / 0.8526 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.6624, allocations: 0.8121 MB / 0.8534 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.6637, allocations: 380.1 kB / 0.8537 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001672/0.6654, allocations: 1.356 MB / 0.855 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007838/0.6662, allocations: 0.6111 MB / 0.8556 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005953/0.6668, allocations: 0.491 MB / 0.8561 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009507/0.6678, allocations: 0.9088 MB / 0.857 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.25e-05/0.6679, allocations: 37.91 kB / 0.857 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002503/0.6681, allocations: 81.02 kB / 0.8571 GB, free: 8.559 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002446/0.6684, allocations: 303.1 kB / 0.8574 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000339/0.6687, allocations: 460.3 kB / 0.8579 GB, free: 8.059 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008573/0.6696, allocations: 1.157 MB / 0.859 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6696, allocations: 10.56 kB / 0.859 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.21e-07/0.6696, allocations: 0 / 0.859 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.6696, allocations: 0 / 0.859 GB, free: 7.23 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00209/0.6717, allocations: 1.474 MB / 0.8604 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.6718, allocations: 10.12 kB / 0.8604 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/0.672, allocations: 130.2 kB / 0.8606 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007486/0.6727, allocations: 0.661 MB / 0.8612 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001112/0.6728, allocations: 79.77 kB / 0.8613 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.525e-05/0.6729, allocations: 48.88 kB / 0.8613 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008661/0.6738, allocations: 0.5203 MB / 0.8618 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.6738, allocations: 3 kB / 0.8618 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.383e-05/0.6739, allocations: 14.28 kB / 0.8619 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.6739, allocations: 14.28 kB / 0.8619 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007518/0.6746, allocations: 416.9 kB / 0.8623 GB, free: 4.836 MB / 0.5762 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.003115/0.6778, allocations: 2.723 MB / 0.8649 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008841/0.6787, allocations: 443.7 kB / 0.8654 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006254/0.6793, allocations: 309.7 kB / 0.8656 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.766e-05/0.6793, allocations: 9.422 kB / 0.8657 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005325/0.6799, allocations: 286.1 kB / 0.8659 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.083e-06/0.6799, allocations: 0 / 0.8659 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.002499/0.6824, allocations: 1.151 MB / 0.8671 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.6825, allocations: 56.81 kB / 0.8671 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.6841, allocations: 1.768 MB / 0.8688 GB, free: 356 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.6842, allocations: 35.92 kB / 0.8689 GB, free: 316 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003997/0.6846, allocations: 0.5252 MB / 0.8694 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.6847, allocations: 149.5 kB / 0.8695 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.6848, allocations: 94.56 kB / 0.8696 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.685, allocations: 337.4 kB / 0.8699 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004323/0.6854, allocations: 205.4 kB / 0.8701 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004918/0.6859, allocations: 335.3 kB / 0.8705 GB, free: 15 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008142/0.6867, allocations: 0.5276 MB / 0.871 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.6867, allocations: 0 / 0.871 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001436/0.6882, allocations: 0.8012 MB / 0.8717 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.6882, allocations: 11.69 kB / 0.8718 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.6882, allocations: 6.094 kB / 0.8718 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003973/0.6886, allocations: 133.5 kB / 0.8719 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000357/0.689, allocations: 108 kB / 0.872 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00256/0.6916, allocations: 2.381 MB / 0.8743 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005038/0.6921, allocations: 80.7 kB / 0.8744 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.079e-05/0.6921, allocations: 21.59 kB / 0.8744 GB, free: 12.03 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004937/0.6926, allocations: 384.6 kB / 0.8748 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.6928, allocations: 114.7 kB / 0.8749 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001991/0.693, allocations: 144.7 kB / 0.875 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.693, allocations: 4.906 kB / 0.875 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/0.693, allocations: 6.812 kB / 0.875 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.693, allocations: 4 kB / 0.875 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002164/0.6952, allocations: 1.488 MB / 0.8765 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.6952, allocations: 0 / 0.8765 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.6954, allocations: 47.19 kB / 0.8765 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004236/0.6958, allocations: 173 kB / 0.8767 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.88e-05/0.6959, allocations: 6.094 kB / 0.8767 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00319/0.6991, allocations: 3.69 MB / 0.8803 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6991, allocations: 4 kB / 0.8803 GB, free: 7.129 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.7009, allocations: 0.9864 MB / 0.8813 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002559/0.7011, allocations: 219.8 kB / 0.8815 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.7012, allocations: 13.03 kB / 0.8815 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003387/0.7016, allocations: 38.92 kB / 0.8815 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.7017, allocations: 54.64 kB / 0.8816 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.832e-05/0.7018, allocations: 20.52 kB / 0.8816 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001234/0.703, allocations: 1.284 MB / 0.8829 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/0.703, allocations: 0 / 0.8829 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007391/0.7038, allocations: 202.5 kB / 0.8831 GB, free: 5.645 MB / 0.5919 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: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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,12,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.001074/0.7048, allocations: 486.4 kB / 0.8835 GB, free: 5.418 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001304/0.7061, allocations: 0.6628 MB / 0.8842 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.7062, allocations: 0 / 0.8842 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007895/0.707, allocations: 0.5266 MB / 0.8847 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.708, allocations: 187.3 kB / 0.8849 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003617/0.7116, allocations: 2.686 MB / 0.8875 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007461/0.7124, allocations: 1.149 MB / 0.8886 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003266/0.7127, allocations: 96.77 kB / 0.8887 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.7128, allocations: 47.42 kB / 0.8888 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of SimCode: time 4.91e-07/0.7128, allocations: 0 / 0.8888 GB, free: 0.5898 MB / 0.5919 GB Notification: Performance of Templates: time 0.01688/0.7297, allocations: 9.427 MB / 0.898 GB, free: 7.297 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)