Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.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.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") translateModel(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 105.4 kB / 16.36 MB, free: 5.891 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.001302/0.001302, allocations: 189.9 kB / 17.29 MB, free: 5.531 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.488/1.488, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.872/1.872, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001446/0.001446, allocations: 75.89 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.256, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.002997/0.259, allocations: 1.492 MB / 0.7862 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.2607, allocations: 0.8654 MB / 0.7871 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.384e-05/0.2607, allocations: 0 / 0.7871 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.025e-05/0.2608, allocations: 3.938 kB / 0.7871 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.4e-05/0.2609, allocations: 19.8 kB / 0.7871 GB, free: 0.7695 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.000695/0.2616, allocations: 151.5 kB / 0.7873 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.2617, allocations: 95.69 kB / 0.7873 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.2619, allocations: 11.98 kB / 0.7874 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.98e-05/0.262, allocations: 47.84 kB / 0.7874 GB, free: 480 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.965e-05/0.2621, allocations: 51.81 kB / 0.7875 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.2621, allocations: 8 kB / 0.7875 GB, free: 420 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002228/0.2623, allocations: 127.8 kB / 0.7876 GB, free: 292 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.426e-05/0.2624, allocations: 19.92 kB / 0.7876 GB, free: 272 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.406e-05/0.2624, allocations: 47.77 kB / 0.7876 GB, free: 224 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.2627, allocations: 175.5 kB / 0.7878 GB, free: 48 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2627, allocations: 3.938 kB / 0.7878 GB, free: 44 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2627, allocations: 4 kB / 0.7878 GB, free: 40 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.2627, allocations: 0 / 0.7878 GB, free: 40 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.4202/0.683, allocations: 471.7 kB / 0.7883 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.683, allocations: 8.125 kB / 0.7883 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.6831, allocations: 14 kB / 0.7883 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.982e-05/0.6832, allocations: 181.2 kB / 0.7885 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.6832, allocations: 7.031 kB / 0.7885 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.6833, allocations: 3.062 kB / 0.7885 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002347/0.6835, allocations: 86.88 kB / 0.7886 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.6835, allocations: 0 / 0.7886 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.6835, allocations: 3.938 kB / 0.7886 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.6836, allocations: 1.172 kB / 0.7886 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.6837, allocations: 54.56 kB / 0.7886 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004798/0.6842, allocations: 325.1 kB / 0.7889 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.6844, allocations: 84.42 kB / 0.789 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.6845, allocations: 46.42 kB / 0.789 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.6846, allocations: 2.438 kB / 0.789 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001907/0.6848, allocations: 88.52 kB / 0.7891 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.833e-06/0.6848, allocations: 0 / 0.7891 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0004671/0.6852, allocations: 188.8 kB / 0.7893 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.6853, allocations: 58.52 kB / 0.7894 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.937e-05/0.6854, allocations: 127.9 kB / 0.7895 GB, free: 48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.6854, allocations: 32.05 kB / 0.7895 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.6854, allocations: 94.05 kB / 0.7896 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.6854, allocations: 25.25 kB / 0.7896 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.016e-05/0.6855, allocations: 28.41 kB / 0.7897 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.874e-05/0.6855, allocations: 322 kB / 0.79 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.985e-05/0.6856, allocations: 30.12 kB / 0.79 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.654e-05/0.6857, allocations: 73.89 kB / 0.7901 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.6858, allocations: 108.6 kB / 0.7902 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.6859, allocations: 0.6562 kB / 0.7902 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002032/0.6861, allocations: 127.2 kB / 0.7903 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.6861, allocations: 5.25 kB / 0.7903 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.6861, allocations: 2.625 kB / 0.7903 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.6861, allocations: 8.188 kB / 0.7903 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.573e-05/0.6862, allocations: 12.7 kB / 0.7903 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.6862, allocations: 4.406 kB / 0.7903 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.293e-05/0.6863, allocations: 13.56 kB / 0.7903 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.6863, allocations: 5.25 kB / 0.7903 GB, free: 47.39 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 7.042e-05/0.6864, allocations: 132.2 kB / 0.7905 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.743e-05/0.6864, allocations: 9.156 kB / 0.7905 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.6864, allocations: 11.19 kB / 0.7905 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.6865, allocations: 3.219 kB / 0.7905 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6865, allocations: 1.875 kB / 0.7905 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6865, allocations: 0.625 kB / 0.7905 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004483/0.6869, allocations: 434 kB / 0.7909 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.6869, allocations: 0 / 0.7909 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.599e-05/0.687, allocations: 7.172 kB / 0.7909 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.687, allocations: 2.625 kB / 0.7909 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.687, allocations: 1.125 kB / 0.7909 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.687, allocations: 3.75 kB / 0.7909 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.687, allocations: 0 / 0.7909 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.6873, allocations: 250.1 kB / 0.7912 GB, free: 46.82 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.366e-05/0.6874, allocations: 81.39 kB / 0.7912 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.6874, allocations: 6.156 kB / 0.7912 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.6875, allocations: 5.812 kB / 0.7913 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.6876, allocations: 9.75 kB / 0.7913 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.6876, allocations: 11.88 kB / 0.7913 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.1e-05/0.6876, allocations: 98.98 kB / 0.7914 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.062e-06/0.6876, allocations: 0 / 0.7914 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000331/0.688, allocations: 56.41 kB / 0.7914 GB, free: 46.64 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.0003327/0.6883, allocations: 172.8 kB / 0.7916 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002453/0.6886, allocations: 88.39 kB / 0.7917 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6886, allocations: 0 / 0.7917 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.6887, allocations: 56.08 kB / 0.7917 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.689, allocations: 9.812 kB / 0.7917 GB, free: 46.55 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003992/0.6894, allocations: 221.2 kB / 0.7919 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.6895, allocations: 0.6984 MB / 0.7926 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/0.6896, allocations: 10.06 kB / 0.7926 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.6896, allocations: 3.828 kB / 0.7926 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of Templates: time 0.00345/0.693, allocations: 1.837 MB / 0.7944 GB, free: 45.57 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.makefile (rm -f Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; mkfifo Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe >> ../files/Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.sim & ./Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom.pipe 2>&1)