Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom") translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001536/0.001536, allocations: 98.72 kB / 16.26 MB, free: 6.418 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.00165/0.00165, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.594/1.594, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.878/1.878, allocations: 292.3 MB / 0.5495 GB, free: 17.5 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.001463/0.001463, allocations: 63.91 kB / 0.6722 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2879, allocations: 114.6 MB / 0.784 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.003887/0.2919, allocations: 1.496 MB / 0.7855 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001961/0.2939, allocations: 0.8615 MB / 0.7863 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.51e-05/0.294, allocations: 0 / 0.7863 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.529e-05/0.294, allocations: 7.922 kB / 0.7863 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.823e-05/0.2941, allocations: 11.88 kB / 0.7863 GB, free: 1.477 MB / 0.6544 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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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 8.1.4-maint.8.1.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.0008577/0.295, allocations: 155.5 kB / 0.7865 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.2952, allocations: 95.7 kB / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.2953, allocations: 15.98 kB / 0.7866 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.2954, allocations: 35.91 kB / 0.7866 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.2956, allocations: 47.83 kB / 0.7867 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.2957, allocations: 8 kB / 0.7867 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003139/0.296, allocations: 123.8 kB / 0.7868 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.254e-05/0.2961, allocations: 27.91 kB / 0.7868 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.894e-05/0.2961, allocations: 35.8 kB / 0.7869 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003689/0.2965, allocations: 183.8 kB / 0.787 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2965, allocations: 0 / 0.787 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.714e-06/0.2965, allocations: 0 / 0.787 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.2966, allocations: 4 kB / 0.787 GB, free: 0.7578 MB / 0.6544 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.0009461/0.2975, allocations: 497.1 kB / 0.7875 GB, free: 220 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.2976, allocations: 12.03 kB / 0.7875 GB, free: 208 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.005e-05/0.2976, allocations: 8.844 kB / 0.7875 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.561/0.8586, allocations: 172 kB / 0.7877 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.043e-05/0.8587, allocations: 4.375 kB / 0.7877 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.975e-05/0.8588, allocations: 4.469 kB / 0.7877 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004428/0.8593, allocations: 84.78 kB / 0.7878 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.8593, allocations: 0.5625 kB / 0.7878 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.8594, allocations: 6.156 kB / 0.7878 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.8594, allocations: 0 / 0.7878 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002947/0.8597, allocations: 57.48 kB / 0.7878 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000716/0.8604, allocations: 323.3 kB / 0.7882 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.8607, allocations: 85.94 kB / 0.7882 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.8609, allocations: 41.17 kB / 0.7883 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.861, allocations: 4.812 kB / 0.7883 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003852/0.8614, allocations: 93.94 kB / 0.7884 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 3.446e-06/0.8614, allocations: 0.5938 kB / 0.7884 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0008029/0.8622, allocations: 184.1 kB / 0.7885 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.8623, allocations: 58.58 kB / 0.7886 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.8624, allocations: 133.5 kB / 0.7887 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.8625, allocations: 30.95 kB / 0.7888 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.783e-05/0.8625, allocations: 93.19 kB / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.8626, allocations: 22.58 kB / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.651e-05/0.8627, allocations: 32.23 kB / 0.7889 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.227e-05/0.8627, allocations: 320.6 kB / 0.7892 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.8629, allocations: 23.62 kB / 0.7892 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.863, allocations: 69.16 kB / 0.7893 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002765/0.8633, allocations: 106.2 kB / 0.7894 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.8634, allocations: 0 / 0.7894 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000385/0.8638, allocations: 130.5 kB / 0.7895 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.8638, allocations: 6.812 kB / 0.7895 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.8638, allocations: 2.141 kB / 0.7895 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.8638, allocations: 2.719 kB / 0.7895 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.864, allocations: 20.41 kB / 0.7896 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.864, allocations: 6 kB / 0.7896 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.8642, allocations: 12.83 kB / 0.7896 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.8642, allocations: 10.78 kB / 0.7896 GB, free: 47.56 MB / 0.6544 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.0001132/0.8643, allocations: 118.4 kB / 0.7897 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/0.8644, allocations: 13.69 kB / 0.7897 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.481e-05/0.8644, allocations: 14.55 kB / 0.7897 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.8644, allocations: 0.625 kB / 0.7897 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.8645, allocations: 1 kB / 0.7897 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.8645, allocations: 2.812 kB / 0.7897 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007547/0.8652, allocations: 430.9 kB / 0.7901 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.8653, allocations: 0.7188 kB / 0.7901 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.935e-05/0.8653, allocations: 7.312 kB / 0.7901 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.8654, allocations: 3.484 kB / 0.7901 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.8654, allocations: 3.625 kB / 0.7902 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.8654, allocations: 0 / 0.7902 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.8654, allocations: 0 / 0.7902 GB, free: 47.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005466/0.866, allocations: 256.1 kB / 0.7904 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.161e-05/0.866, allocations: 83.36 kB / 0.7905 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/0.8661, allocations: 8.266 kB / 0.7905 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.8663, allocations: 11.44 kB / 0.7905 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.8663, allocations: 6.281 kB / 0.7905 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.8664, allocations: 7.578 kB / 0.7905 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.4e-05/0.8664, allocations: 99.61 kB / 0.7906 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.41e-07/0.8665, allocations: 0 / 0.7906 GB, free: 46.83 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0005805/0.867, allocations: 49.75 kB / 0.7906 GB, free: 46.83 MB / 0.6544 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.0005103/0.8676, allocations: 177.9 kB / 0.7908 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004259/0.868, allocations: 96.67 kB / 0.7909 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.868, allocations: 0 / 0.7909 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.8683, allocations: 49.7 kB / 0.791 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/0.8687, allocations: 15.75 kB / 0.791 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006046/0.8694, allocations: 228.7 kB / 0.7912 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.8695, allocations: 0.6921 MB / 0.7919 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.886e-05/0.8696, allocations: 12.83 kB / 0.7919 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of SimCode: time 5.21e-07/0.8696, allocations: 0 / 0.7919 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.00565/0.8752, allocations: 1.837 MB / 0.7937 GB, free: 45.76 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.makefile (rm -f Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.sim & ./Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom.pipe 2>&1)