Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.TestCase7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 100.3 kB / 16.35 MB, free: 6.348 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.001717/0.001717, allocations: 197.4 kB / 17.29 MB, free: 5.93 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.275/1.275, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.727/1.727, allocations: 292.3 MB / 0.5496 GB, free: 17.45 MB / 462.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.001469/0.001469, allocations: 66.88 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1955, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.4701/0.6656, allocations: 157.9 MB / 0.9389 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.03411/0.6998, allocations: 21.93 MB / 0.9603 GB, free: 6.254 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002543/0.7024, allocations: 65.03 kB / 0.9604 GB, free: 6.191 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002742/0.7052, allocations: 1.375 MB / 0.9617 GB, free: 4.812 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.002507/0.7077, allocations: 1.02 MB / 0.9627 GB, free: 3.789 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002158/0.7099, allocations: 0.5974 MB / 0.9633 GB, free: 3.199 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002675/0.7126, allocations: 1.688 MB / 0.965 GB, free: 1.512 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001874/0.7145, allocations: 0.9644 MB / 0.9659 GB, free: 0.5664 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.716, allocations: 0.728 MB / 0.9666 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002054/0.718, allocations: 1.195 MB / 0.9678 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.00029/0.7183, allocations: 88 kB / 0.9679 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005379/0.7189, allocations: 136 kB / 0.968 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0005605/0.7195, allocations: 420.3 kB / 0.9684 GB, free: 14.01 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0008164/0.7203, allocations: 0.6559 MB / 0.969 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002097/0.7224, allocations: 1.601 MB / 0.9706 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.7224, allocations: 0 / 0.9706 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.183e-06/0.7225, allocations: 0 / 0.9706 GB, free: 11.75 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.256e-05/0.7225, allocations: 0 / 0.9706 GB, free: 11.75 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.00402/0.7265, allocations: 1.909 MB / 0.9725 GB, free: 9.777 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.7266, allocations: 8.031 kB / 0.9725 GB, free: 9.77 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004024/0.727, allocations: 186.7 kB / 0.9727 GB, free: 9.586 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.7287, allocations: 0.871 MB / 0.9735 GB, free: 8.668 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/0.7289, allocations: 91 kB / 0.9736 GB, free: 8.574 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.729, allocations: 67.98 kB / 0.9737 GB, free: 8.508 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/0.7308, allocations: 0.7137 MB / 0.9744 GB, free: 7.766 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.739e-05/0.7309, allocations: 11.97 kB / 0.9744 GB, free: 7.754 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-05/0.731, allocations: 24 kB / 0.9744 GB, free: 7.73 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.731, allocations: 16 kB / 0.9744 GB, free: 7.715 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/0.7327, allocations: 0.5399 MB / 0.9749 GB, free: 7.172 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.006386/0.7391, allocations: 3.599 MB / 0.9785 GB, free: 3.293 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/0.7411, allocations: 0.612 MB / 0.9791 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/0.7422, allocations: 370.3 kB / 0.9794 GB, free: 2.312 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 6.217e-05/0.7423, allocations: 16.5 kB / 0.9794 GB, free: 2.297 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001079/0.7434, allocations: 371.8 kB / 0.9798 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=65): time 3.546e-06/0.7434, allocations: 0 / 0.9798 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of matching and sorting (n=65): time 0.007637/0.7511, allocations: 1.792 MB / 0.9815 GB, free: 76 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.7511, allocations: 59.97 kB / 0.9816 GB, free: 4 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003669/0.7548, allocations: 2.251 MB / 0.9838 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.818e-05/0.7549, allocations: 41.7 kB / 0.9838 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008806/0.7558, allocations: 0.7109 MB / 0.9845 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/0.7561, allocations: 217 kB / 0.9847 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002993/0.7564, allocations: 131.8 kB / 0.9848 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.7566, allocations: 337.9 kB / 0.9852 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009602/0.7575, allocations: 269.8 kB / 0.9854 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.7586, allocations: 428.8 kB / 0.9858 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001939/0.7606, allocations: 0.6552 MB / 0.9865 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.7606, allocations: 0 / 0.9865 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003563/0.7642, allocations: 1.126 MB / 0.9876 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.7643, allocations: 12.77 kB / 0.9876 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.7643, allocations: 4 kB / 0.9876 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/0.7655, allocations: 266.8 kB / 0.9878 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000672/0.7662, allocations: 119.8 kB / 0.988 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007608/0.7738, allocations: 3.696 MB / 0.9916 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008543/0.7747, allocations: 95.27 kB / 0.9917 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.618e-05/0.7748, allocations: 31.98 kB / 0.9917 GB, free: 5.387 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (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,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0008463/0.7756, allocations: 463.7 kB / 0.9921 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/0.7759, allocations: 157.9 kB / 0.9923 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003783/0.7763, allocations: 191.5 kB / 0.9925 GB, free: 4.574 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.7763, allocations: 4 kB / 0.9925 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.7763, allocations: 9.625 kB / 0.9925 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.7763, allocations: 7.938 kB / 0.9925 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004961/0.7813, allocations: 2.022 MB / 0.9945 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.7813, allocations: 0 / 0.9945 GB, free: 2.473 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004345/0.7818, allocations: 67.89 kB / 0.9945 GB, free: 2.406 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001152/0.7829, allocations: 278.5 kB / 0.9948 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-05/0.783, allocations: 15.98 kB / 0.9948 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008536/0.7916, allocations: 5.239 MB / 0.9999 GB, free: 12.6 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7916, allocations: 0 / 0.9999 GB, free: 12.6 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003971/0.7956, allocations: 1.398 MB / 1.001 GB, free: 11.18 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005537/0.7961, allocations: 263 kB / 1.002 GB, free: 10.9 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002012/0.7963, allocations: 25.11 kB / 1.002 GB, free: 10.88 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006829/0.797, allocations: 31.97 kB / 1.002 GB, free: 10.85 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/0.7973, allocations: 68.45 kB / 1.002 GB, free: 10.78 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-05/0.7974, allocations: 20 kB / 1.002 GB, free: 10.76 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002741/0.8001, allocations: 1.639 MB / 1.003 GB, free: 9.129 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8001, allocations: 0 / 1.003 GB, free: 9.129 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001474/0.8016, allocations: 268.2 kB / 1.004 GB, free: 8.867 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,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 (39): * Single equations (assignments): 29 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001734/0.8034, allocations: 496 kB / 1.004 GB, free: 8.625 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002934/0.8063, allocations: 0.9068 MB / 1.005 GB, free: 7.703 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.8063, allocations: 0 / 1.005 GB, free: 7.703 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001654/0.808, allocations: 0.6752 MB / 1.006 GB, free: 7.004 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/0.8099, allocations: 291.4 kB / 1.006 GB, free: 6.746 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006342/0.8163, allocations: 3.068 MB / 1.009 GB, free: 3.645 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/0.8176, allocations: 1.314 MB / 1.01 GB, free: 2.305 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005319/0.8182, allocations: 118.7 kB / 1.01 GB, free: 2.191 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/0.8184, allocations: 63.36 kB / 1.01 GB, free: 2.129 MB / 0.795 GB Notification: Performance of SimCode: time 7.41e-07/0.8184, allocations: 0 / 1.01 GB, free: 2.129 MB / 0.795 GB Notification: Performance of Templates: time 0.04012/0.8585, allocations: 14.96 MB / 1.025 GB, free: 3.383 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1)