Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.004792/0.004792, allocations: 101.2 kB / 15.73 MB, free: 6.035 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.001049/0.001049, allocations: 190.2 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.227/1.227, allocations: 205.1 MB / 222.5 MB, free: 4.477 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.345/1.345, allocations: 251.7 MB / 0.5094 GB, free: 3.043 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 70.09 kB / 0.7258 GB, free: 9.059 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1733, allocations: 104.7 MB / 0.828 GB, free: 260 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6): time 0.5183/0.6916, allocations: 157 MB / 0.9813 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02423/0.7159, allocations: 21.69 MB / 1.003 GB, free: 2.191 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001733/0.7177, allocations: 58.19 kB / 1.003 GB, free: 2.168 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.7191, allocations: 1.339 MB / 1.004 GB, free: 1.477 MB / 0.7481 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001255/0.7204, allocations: 0.9836 MB / 1.005 GB, free: 0.875 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009501/0.7214, allocations: 476.8 kB / 1.005 GB, free: 0.5039 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001107/0.7225, allocations: 1.424 MB / 1.007 GB, free: 15.71 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007235/0.7232, allocations: 0.7809 MB / 1.007 GB, free: 15.22 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005775/0.7238, allocations: 0.6449 MB / 1.008 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008941/0.7247, allocations: 1.101 MB / 1.009 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 8.715e-05/0.7248, allocations: 70.19 kB / 1.009 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.725, allocations: 120.6 kB / 1.009 GB, free: 14.37 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.00025/0.7253, allocations: 379.8 kB / 1.01 GB, free: 14.13 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0003948/0.7257, allocations: 0.5567 MB / 1.01 GB, free: 13.71 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.7267, allocations: 1.367 MB / 1.012 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.7268, allocations: 4 kB / 1.012 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.112e-06/0.7268, allocations: 0 / 1.012 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.7268, allocations: 0 / 1.012 GB, free: 12.77 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002047/0.7288, allocations: 1.668 MB / 1.013 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.7289, allocations: 8.219 kB / 1.013 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.7291, allocations: 160.8 kB / 1.013 GB, free: 11.39 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007854/0.7299, allocations: 0.7538 MB / 1.014 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.73, allocations: 78.3 kB / 1.014 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.229e-05/0.7301, allocations: 49.03 kB / 1.014 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008471/0.7309, allocations: 0.5679 MB / 1.015 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.731, allocations: 6.062 kB / 1.015 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/0.731, allocations: 17.38 kB / 1.015 GB, free: 10.33 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.731, allocations: 10.09 kB / 1.015 GB, free: 10.33 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007578/0.7318, allocations: 444.2 kB / 1.015 GB, free: 10.12 MB / 0.7637 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.003155/0.735, allocations: 3.007 MB / 1.018 GB, free: 7.496 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009193/0.7359, allocations: 497.7 kB / 1.019 GB, free: 7.25 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005316/0.7364, allocations: 325.9 kB / 1.019 GB, free: 7.086 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.997e-05/0.7365, allocations: 7.969 kB / 1.019 GB, free: 7.086 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005249/0.737, allocations: 325.5 kB / 1.019 GB, free: 6.883 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=52): time 1.924e-06/0.737, allocations: 0 / 1.019 GB, free: 6.883 MB / 0.7637 GB Notification: Performance of matching and sorting (n=52): time 0.002764/0.7398, allocations: 1.348 MB / 1.021 GB, free: 6.086 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.7399, allocations: 65.05 kB / 1.021 GB, free: 6.016 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/0.7417, allocations: 2.113 MB / 1.023 GB, free: 4.828 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.945e-05/0.7417, allocations: 41.69 kB / 1.023 GB, free: 4.781 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004584/0.7422, allocations: 0.6167 MB / 1.023 GB, free: 4.156 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.7423, allocations: 165.7 kB / 1.024 GB, free: 3.992 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.7425, allocations: 110.3 kB / 1.024 GB, free: 3.879 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.7426, allocations: 333.8 kB / 1.024 GB, free: 3.547 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004611/0.7431, allocations: 241.1 kB / 1.024 GB, free: 3.312 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005167/0.7436, allocations: 349.8 kB / 1.025 GB, free: 2.93 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009002/0.7445, allocations: 0.5448 MB / 1.025 GB, free: 2.348 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.7445, allocations: 4 kB / 1.025 GB, free: 2.344 MB / 0.7637 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001546/0.7461, allocations: 0.9023 MB / 1.026 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.7461, allocations: 7.984 kB / 1.026 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.7461, allocations: 4 kB / 1.026 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004829/0.7466, allocations: 187.3 kB / 1.026 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/0.747, allocations: 111.9 kB / 1.026 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003389/0.7503, allocations: 3.057 MB / 1.029 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003698/0.7507, allocations: 75.39 kB / 1.029 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.7508, allocations: 20 kB / 1.029 GB, free: 13.84 MB / 0.7794 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,$PRE.mean.y,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.0004473/0.7512, allocations: 448.7 kB / 1.03 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.7514, allocations: 130.3 kB / 1.03 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/0.7516, allocations: 166 kB / 1.03 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.7516, allocations: 4 kB / 1.03 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/0.7516, allocations: 7.938 kB / 1.03 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.7516, allocations: 3.984 kB / 1.03 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002448/0.7541, allocations: 1.731 MB / 1.032 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.7541, allocations: 0 / 1.032 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/0.7543, allocations: 59.97 kB / 1.032 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004508/0.7548, allocations: 198.2 kB / 1.032 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-05/0.7548, allocations: 15.98 kB / 1.032 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004125/0.759, allocations: 4.601 MB / 1.036 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.614e-06/0.759, allocations: 0 / 1.036 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001819/0.7608, allocations: 1.159 MB / 1.038 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/0.7611, allocations: 247.2 kB / 1.038 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.683e-05/0.7612, allocations: 12 kB / 1.038 GB, free: 4.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/0.7615, allocations: 31.95 kB / 1.038 GB, free: 4.652 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.7616, allocations: 56.36 kB / 1.038 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-05/0.7617, allocations: 19.98 kB / 1.038 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001491/0.7632, allocations: 1.541 MB / 1.039 GB, free: 3.039 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7632, allocations: 7.938 kB / 1.039 GB, free: 3.031 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006809/0.7639, allocations: 223.6 kB / 1.04 GB, free: 2.812 MB / 0.7794 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) * 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.001018/0.7649, allocations: 492.4 kB / 1.04 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001383/0.7663, allocations: 0.7687 MB / 1.041 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7663, allocations: 0 / 1.041 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0008753/0.7672, allocations: 0.5936 MB / 1.041 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009164/0.7681, allocations: 230.9 kB / 1.042 GB, free: 0.8906 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004012/0.7721, allocations: 2.765 MB / 1.044 GB, free: 14.09 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008649/0.773, allocations: 1.239 MB / 1.046 GB, free: 12.82 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002597/0.7733, allocations: 105.1 kB / 1.046 GB, free: 12.72 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.7734, allocations: 59.36 kB / 1.046 GB, free: 12.66 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.7734, allocations: 0 / 1.046 GB, free: 12.66 MB / 0.795 GB Notification: Performance of Templates: time 0.02/0.7934, allocations: 11.59 MB / 1.057 GB, free: 1.215 MB / 0.795 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.pipe 2>&1)