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.001672/0.001672, allocations: 109.5 kB / 16.37 MB, free: 5.996 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.002091/0.002091, allocations: 195.4 kB / 17.31 MB, free: 5.605 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.502/1.502, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.882/1.882, allocations: 292.3 MB / 0.5496 GB, free: 17.48 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.002201/0.002201, allocations: 67.89 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2526, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACBedroom): time 0.00372/0.2564, allocations: 1.496 MB / 0.7863 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.258, allocations: 0.8616 MB / 0.7871 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.49e-05/0.2581, allocations: 0 / 0.7871 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.287e-05/0.2582, allocations: 3.938 kB / 0.7871 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.855e-05/0.2583, allocations: 15.8 kB / 0.7871 GB, free: 0.7734 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.0006653/0.2589, allocations: 147.5 kB / 0.7873 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.2591, allocations: 99.64 kB / 0.7873 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.2592, allocations: 19.97 kB / 0.7874 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.2593, allocations: 47.78 kB / 0.7874 GB, free: 476 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.131e-05/0.2594, allocations: 47.81 kB / 0.7875 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.2594, allocations: 8 kB / 0.7875 GB, free: 420 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002221/0.2596, allocations: 127.9 kB / 0.7876 GB, free: 292 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.99e-05/0.2597, allocations: 19.92 kB / 0.7876 GB, free: 272 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.673e-05/0.2597, allocations: 39.84 kB / 0.7876 GB, free: 232 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002587/0.26, allocations: 183.4 kB / 0.7878 GB, free: 48 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.26, allocations: 0 / 0.7878 GB, free: 48 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.894e-06/0.26, allocations: 0 / 0.7878 GB, free: 48 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.26, allocations: 4 kB / 0.7878 GB, free: 44 kB / 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.4368/0.6969, allocations: 471.9 kB / 0.7883 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.6969, allocations: 10.5 kB / 0.7883 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.216e-05/0.697, allocations: 9.484 kB / 0.7883 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.743e-05/0.6971, allocations: 177.5 kB / 0.7885 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.068e-05/0.6971, allocations: 6.312 kB / 0.7885 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.6972, allocations: 7.719 kB / 0.7885 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.6974, allocations: 92.47 kB / 0.7886 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.6974, allocations: 0 / 0.7886 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.6974, allocations: 3.938 kB / 0.7886 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.6974, allocations: 3.469 kB / 0.7886 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.6976, allocations: 46.41 kB / 0.7886 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.6981, allocations: 326.2 kB / 0.7889 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002126/0.6983, allocations: 88.73 kB / 0.789 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.6984, allocations: 44.83 kB / 0.7891 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.6984, allocations: 0.5 kB / 0.7891 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/0.6986, allocations: 97.89 kB / 0.7891 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 2.094e-06/0.6986, allocations: 1.625 kB / 0.7891 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.000477/0.6991, allocations: 182.8 kB / 0.7893 GB, free: 48 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.6992, allocations: 61.25 kB / 0.7894 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.611e-05/0.6993, allocations: 125.4 kB / 0.7895 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.6993, allocations: 32.27 kB / 0.7895 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.823e-05/0.6993, allocations: 93.5 kB / 0.7896 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.6993, allocations: 25.36 kB / 0.7896 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.6994, allocations: 33.39 kB / 0.7897 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.226e-05/0.6994, allocations: 321.5 kB / 0.79 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.749e-05/0.6995, allocations: 25.14 kB / 0.79 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.744e-05/0.6996, allocations: 75.59 kB / 0.7901 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.6998, allocations: 104.3 kB / 0.7902 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.6998, allocations: 2.625 kB / 0.7902 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002/0.7, allocations: 126.3 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.7, allocations: 6.031 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.7, allocations: 2.625 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.7, allocations: 3.125 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.33e-05/0.7001, allocations: 16.17 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.7001, allocations: 6.578 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.911e-05/0.7002, allocations: 6.219 kB / 0.7903 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.7002, allocations: 9.156 kB / 0.7903 GB, free: 47.23 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 6.92e-05/0.7003, allocations: 134.1 kB / 0.7905 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.7003, allocations: 6.312 kB / 0.7905 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.765e-05/0.7003, allocations: 10.66 kB / 0.7905 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.7004, allocations: 2.656 kB / 0.7905 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.7004, allocations: 3.859 kB / 0.7905 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.7004, allocations: 0 / 0.7905 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004373/0.7008, allocations: 431.6 kB / 0.7909 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.7008, allocations: 0.7812 kB / 0.7909 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-05/0.7009, allocations: 11.47 kB / 0.7909 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.7009, allocations: 1.469 kB / 0.7909 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.7009, allocations: 7.75 kB / 0.7909 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.7009, allocations: 4.703 kB / 0.7909 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.7009, allocations: 0 / 0.7909 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.7012, allocations: 249.7 kB / 0.7912 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.427e-05/0.7013, allocations: 82.2 kB / 0.7913 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.7013, allocations: 0 / 0.7913 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.7014, allocations: 9.234 kB / 0.7913 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.991e-05/0.7015, allocations: 7.047 kB / 0.7913 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.7015, allocations: 17.34 kB / 0.7913 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.365e-05/0.7015, allocations: 96.38 kB / 0.7914 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7015, allocations: 0 / 0.7914 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003338/0.7019, allocations: 53.38 kB / 0.7914 GB, free: 46.48 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.000373/0.7023, allocations: 180.6 kB / 0.7916 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002528/0.7025, allocations: 84.12 kB / 0.7917 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7025, allocations: 3.406 kB / 0.7917 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.7027, allocations: 48.91 kB / 0.7917 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.703, allocations: 10.81 kB / 0.7917 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.7034, allocations: 220.6 kB / 0.7919 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.7035, allocations: 0.6944 MB / 0.7926 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.7035, allocations: 12.69 kB / 0.7926 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.7036, allocations: 2.625 kB / 0.7926 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of Templates: time 0.003512/0.7071, allocations: 1.833 MB / 0.7944 GB, free: 45.42 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)