Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.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.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom") translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 195.2 kB / 16.53 MB, free: 6.391 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.526/1.526, allocations: 205.1 MB / 222.4 MB, free: 4.562 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.629/1.629, allocations: 251.7 MB / 0.5092 GB, free: 3.09 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.001642/0.001642, allocations: 67.91 kB / 0.6223 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5466/0.5482, allocations: 104.7 MB / 0.7245 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.003122/0.5514, allocations: 1.507 MB / 0.726 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.553, allocations: 0.869 MB / 0.7268 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.088e-05/0.5531, allocations: 3.938 kB / 0.7268 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.303e-05/0.5531, allocations: 11.92 kB / 0.7268 GB, free: 10.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.462e-05/0.5532, allocations: 11.81 kB / 0.7269 GB, free: 10.53 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/weibull1DON.mo:2:1-36:16:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.weibull1DON' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/weibull1DOFF.mo:2:1-36:17:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.weibull1DOFF' contains a call to impure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration'. Notification: Performance of NFTyping.typeClassSections: time 0.0007555/0.554, allocations: 155.5 kB / 0.727 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.5541, allocations: 91.77 kB / 0.7271 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.5543, allocations: 4 kB / 0.7271 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.5544, allocations: 51.83 kB / 0.7271 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.246e-05/0.5545, allocations: 43.83 kB / 0.7272 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.5545, allocations: 8 kB / 0.7272 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002646/0.5548, allocations: 123.8 kB / 0.7273 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.703e-05/0.5548, allocations: 27.89 kB / 0.7273 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.979e-05/0.5549, allocations: 39.8 kB / 0.7274 GB, free: 9.992 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.5552, allocations: 177.6 kB / 0.7275 GB, free: 9.82 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.5552, allocations: 0 / 0.7275 GB, free: 9.82 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5552, allocations: 0 / 0.7275 GB, free: 9.82 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.5552, allocations: 0 / 0.7275 GB, free: 9.82 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008021/0.556, allocations: 482.5 kB / 0.728 GB, free: 9.289 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.5561, allocations: 8.031 kB / 0.728 GB, free: 9.281 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.803e-05/0.5561, allocations: 12.84 kB / 0.728 GB, free: 9.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.5563, allocations: 184.1 kB / 0.7282 GB, free: 9.051 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.052e-05/0.5563, allocations: 8.359 kB / 0.7282 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.5564, allocations: 8.359 kB / 0.7282 GB, free: 9.035 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002532/0.5566, allocations: 89.95 kB / 0.7283 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.5567, allocations: 0 / 0.7283 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.5567, allocations: 3.938 kB / 0.7283 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.5567, allocations: 4 kB / 0.7283 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.5569, allocations: 51.84 kB / 0.7284 GB, free: 8.883 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006596/0.5575, allocations: 332.7 kB / 0.7287 GB, free: 8.508 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002436/0.5578, allocations: 78.55 kB / 0.7288 GB, free: 8.422 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.5579, allocations: 40.83 kB / 0.7288 GB, free: 8.379 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.558, allocations: 4 kB / 0.7288 GB, free: 8.375 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002608/0.5582, allocations: 99.39 kB / 0.7289 GB, free: 8.266 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.5582, allocations: 0 / 0.7289 GB, free: 8.266 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0005502/0.5588, allocations: 181.5 kB / 0.7291 GB, free: 8.082 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.709e-05/0.5589, allocations: 59.55 kB / 0.7291 GB, free: 8.012 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.559, allocations: 134 kB / 0.7292 GB, free: 7.871 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.5591, allocations: 29.7 kB / 0.7293 GB, free: 7.836 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.223e-05/0.5591, allocations: 100.1 kB / 0.7294 GB, free: 7.734 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.5592, allocations: 11.81 kB / 0.7294 GB, free: 7.723 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/0.5592, allocations: 29.7 kB / 0.7294 GB, free: 7.688 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.5594, allocations: 326.8 kB / 0.7297 GB, free: 7.359 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.799e-05/0.5595, allocations: 27.92 kB / 0.7297 GB, free: 7.332 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.5596, allocations: 73.98 kB / 0.7298 GB, free: 7.238 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.5598, allocations: 97.94 kB / 0.7299 GB, free: 7.121 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5598, allocations: 0 / 0.7299 GB, free: 7.121 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002634/0.5601, allocations: 129.4 kB / 0.73 GB, free: 6.988 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.5601, allocations: 8 kB / 0.73 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.5601, allocations: 0 / 0.73 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.5602, allocations: 4 kB / 0.73 GB, free: 6.977 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-05/0.5603, allocations: 8 kB / 0.7301 GB, free: 6.969 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.5603, allocations: 12.17 kB / 0.7301 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.816e-05/0.5604, allocations: 15.84 kB / 0.7301 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.5604, allocations: 7.938 kB / 0.7301 GB, free: 6.934 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 (ac.curSeed,$PRE.ac.curSeed,ac.pOff,$PRE.ac.pOff,ac.pOn,$PRE.ac.pOn,ac.on,$PRE.ac.on,occ.y,ac.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.5605, allocations: 125.2 kB / 0.7302 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.5605, allocations: 7.906 kB / 0.7302 GB, free: 6.797 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.43e-05/0.5606, allocations: 12.7 kB / 0.7302 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.5606, allocations: 0 / 0.7302 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.5606, allocations: 8 kB / 0.7302 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.5606, allocations: 4 kB / 0.7302 GB, free: 6.773 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005752/0.5612, allocations: 430.4 kB / 0.7306 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.5612, allocations: 3.938 kB / 0.7307 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.156e-05/0.5612, allocations: 7.984 kB / 0.7307 GB, free: 6.285 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.5613, allocations: 0 / 0.7307 GB, free: 6.285 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.5613, allocations: 0 / 0.7307 GB, free: 6.285 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.5613, allocations: 0 / 0.7307 GB, free: 6.285 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5613, allocations: 7.938 kB / 0.7307 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.5616, allocations: 247.4 kB / 0.7309 GB, free: 6.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.6e-05/0.5617, allocations: 92.94 kB / 0.731 GB, free: 5.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.5617, allocations: 3.938 kB / 0.731 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.5618, allocations: 11.98 kB / 0.731 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.5619, allocations: 11.92 kB / 0.731 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.5619, allocations: 8 kB / 0.731 GB, free: 5.875 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.79e-05/0.562, allocations: 99.27 kB / 0.7311 GB, free: 5.777 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.562, allocations: 0 / 0.7311 GB, free: 5.777 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003227/0.5623, allocations: 51.98 kB / 0.7312 GB, free: 5.727 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (ac.sampleTrigger,$whenCondition1,occ.y,ac.on,ac.pOn,ac.pOff,ac.curSeed) * Number of discrete states: 1 (ac.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003787/0.5627, allocations: 164 kB / 0.7313 GB, free: 5.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002724/0.563, allocations: 91.89 kB / 0.7314 GB, free: 5.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.563, allocations: 3.938 kB / 0.7314 GB, free: 5.477 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.5632, allocations: 47.97 kB / 0.7315 GB, free: 5.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.5635, allocations: 8.219 kB / 0.7315 GB, free: 5.426 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004924/0.564, allocations: 204.6 kB / 0.7317 GB, free: 5.199 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.5643, allocations: 0.6924 MB / 0.7323 GB, free: 4.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.167e-05/0.5643, allocations: 11.98 kB / 0.7324 GB, free: 4.469 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.5644, allocations: 15.38 kB / 0.7324 GB, free: 4.453 MB / 0.545 GB Notification: Performance of SimCode: time 1.754e-06/0.5644, allocations: 3.938 kB / 0.7324 GB, free: 4.449 MB / 0.545 GB Notification: Performance of Templates: time 0.005257/0.5696, allocations: 1.898 MB / 0.7342 GB, free: 2.586 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1)