Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002104/0.002104, allocations: 196.3 kB / 16.26 MB, free: 6.629 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.497/1.497, allocations: 222.9 MB / 239.9 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002587/0.002587, allocations: 282.5 kB / 290.4 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.053/1.053, allocations: 178.6 MB / 0.507 GB, free: 4.727 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00273/0.00273, allocations: 101.3 kB / 0.6059 GB, free: 25.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.212, allocations: 89.15 MB / 0.693 GB, free: 4.691 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.4829/0.695, allocations: 154.6 MB / 0.8439 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02595/0.721, allocations: 21.49 MB / 0.8649 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.723, allocations: 52.16 kB / 0.865 GB, free: 7.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001513/0.7245, allocations: 1.13 MB / 0.8661 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001425/0.726, allocations: 0.8263 MB / 0.8669 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.7271, allocations: 387.4 kB / 0.8672 GB, free: 5.793 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001253/0.7283, allocations: 1.25 MB / 0.8685 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007937/0.7291, allocations: 0.6868 MB / 0.8691 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006426/0.7298, allocations: 0.5556 MB / 0.8697 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009238/0.7307, allocations: 0.9538 MB / 0.8706 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.893e-05/0.7308, allocations: 65.25 kB / 0.8707 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002241/0.7311, allocations: 112.9 kB / 0.8708 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000302/0.7314, allocations: 336.1 kB / 0.8711 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004681/0.7318, allocations: 497.5 kB / 0.8716 GB, free: 3.387 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.7331, allocations: 1.176 MB / 0.8727 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.7331, allocations: 0 / 0.8727 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7331, allocations: 0 / 0.8727 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.512e-05/0.7331, allocations: 0 / 0.8727 GB, free: 2.562 MB / 0.5919 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.002386/0.7355, allocations: 1.487 MB / 0.8742 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.7356, allocations: 9.594 kB / 0.8742 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.7358, allocations: 134.9 kB / 0.8743 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000879/0.7367, allocations: 0.653 MB / 0.8749 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.7368, allocations: 71.88 kB / 0.875 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.023e-05/0.7369, allocations: 50.48 kB / 0.8751 GB, free: 0.7031 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009456/0.7378, allocations: 0.5188 MB / 0.8756 GB, free: 396 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.7379, allocations: 2.562 kB / 0.8756 GB, free: 396 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.676e-05/0.7379, allocations: 14.47 kB / 0.8756 GB, free: 384 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.7379, allocations: 10.06 kB / 0.8756 GB, free: 384 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007977/0.7387, allocations: 413 kB / 0.876 GB, free: 180 kB / 0.5919 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.00389/0.7426, allocations: 2.814 MB / 0.8787 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.7437, allocations: 462 kB / 0.8792 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000592/0.7443, allocations: 288.9 kB / 0.8795 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.889e-05/0.7444, allocations: 8.641 kB / 0.8795 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006287/0.745, allocations: 297.9 kB / 0.8797 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 2.936e-06/0.745, allocations: 0 / 0.8797 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.003132/0.7481, allocations: 1.242 MB / 0.881 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.78e-05/0.7482, allocations: 63.39 kB / 0.881 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002027/0.7503, allocations: 1.748 MB / 0.8827 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.946e-05/0.7503, allocations: 41.7 kB / 0.8828 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004916/0.7508, allocations: 0.5219 MB / 0.8833 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001472/0.751, allocations: 145.9 kB / 0.8834 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001766/0.7512, allocations: 94.25 kB / 0.8835 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.7513, allocations: 326 kB / 0.8838 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005093/0.7518, allocations: 217 kB / 0.884 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005958/0.7524, allocations: 332.8 kB / 0.8843 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009617/0.7534, allocations: 0.5141 MB / 0.8848 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.7534, allocations: 0 / 0.8848 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00172/0.7552, allocations: 0.8511 MB / 0.8857 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.7552, allocations: 4 kB / 0.8857 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.7552, allocations: 8.125 kB / 0.8857 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005418/0.7557, allocations: 184.7 kB / 0.8859 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.7561, allocations: 95.81 kB / 0.886 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003906/0.76, allocations: 2.994 MB / 0.8889 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004587/0.7605, allocations: 79.55 kB / 0.889 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.7606, allocations: 20.44 kB / 0.889 GB, free: 2.5 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 49 * 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,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000548/0.7611, allocations: 383.4 kB / 0.8893 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/0.7613, allocations: 118.4 kB / 0.8895 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002443/0.7615, allocations: 151.7 kB / 0.8896 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.7615, allocations: 7.938 kB / 0.8896 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.7615, allocations: 0 / 0.8896 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.7616, allocations: 4 kB / 0.8896 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00261/0.7642, allocations: 1.565 MB / 0.8911 GB, free: 216 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.7642, allocations: 0 / 0.8911 GB, free: 216 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.7644, allocations: 43.91 kB / 0.8912 GB, free: 172 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005153/0.7649, allocations: 212 kB / 0.8914 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.765, allocations: 8 kB / 0.8914 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004805/0.7698, allocations: 4.551 MB / 0.8958 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.7698, allocations: 0 / 0.8958 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/0.7718, allocations: 1.065 MB / 0.8969 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00028/0.772, allocations: 215.8 kB / 0.8971 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.371e-05/0.7721, allocations: 8 kB / 0.8971 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000345/0.7725, allocations: 35.95 kB / 0.8971 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.7726, allocations: 59.91 kB / 0.8972 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-05/0.7727, allocations: 16 kB / 0.8972 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001491/0.7742, allocations: 1.277 MB / 0.8984 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7742, allocations: 0 / 0.8984 GB, free: 8.402 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008229/0.775, allocations: 211.7 kB / 0.8986 GB, free: 8.195 MB / 0.6231 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,13,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.001776/0.7768, allocations: 492.2 kB / 0.8991 GB, free: 7.898 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001694/0.7785, allocations: 0.7578 MB / 0.8998 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.7785, allocations: 0 / 0.8998 GB, free: 7.129 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009295/0.7795, allocations: 0.5557 MB / 0.9004 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009988/0.7805, allocations: 197.7 kB / 0.9006 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00401/0.7845, allocations: 2.696 MB / 0.9032 GB, free: 3.629 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008372/0.7853, allocations: 1.157 MB / 0.9043 GB, free: 2.445 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002852/0.7856, allocations: 92.7 kB / 0.9044 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.7858, allocations: 47.42 kB / 0.9045 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of SimCode: time 3.1e-07/0.7858, allocations: 0 / 0.9045 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of Templates: time 0.0213/0.8071, allocations: 10.23 MB / 0.9145 GB, free: 8.227 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)