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.001473/0.001473, allocations: 101.4 kB / 16.27 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.00168/0.00168, allocations: 184.6 kB / 17.2 MB, free: 5.609 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.557/1.557, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.83/1.83, 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.001447/0.001447, allocations: 68.38 kB / 0.6722 GB, free: 6.66 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2637, allocations: 114.6 MB / 0.784 GB, free: 3.988 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Residential.AirConditioning.Validation.Ren2014ACLivingroom): time 0.0029/0.2667, allocations: 1.5 MB / 0.7855 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.2683, allocations: 0.8578 MB / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.128e-05/0.2684, allocations: 3.938 kB / 0.7863 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.294e-05/0.2684, allocations: 3.938 kB / 0.7863 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.194e-05/0.2685, allocations: 15.84 kB / 0.7863 GB, free: 1.582 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.0006817/0.2692, allocations: 163.5 kB / 0.7865 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.2693, allocations: 95.7 kB / 0.7866 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.2695, allocations: 11.98 kB / 0.7866 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.511e-05/0.2696, allocations: 39.84 kB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.716e-05/0.2696, allocations: 43.83 kB / 0.7867 GB, free: 1.234 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.2697, allocations: 11.94 kB / 0.7867 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.2699, allocations: 127.8 kB / 0.7868 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.067e-05/0.2699, allocations: 19.98 kB / 0.7868 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.336e-05/0.27, allocations: 43.78 kB / 0.7869 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.2703, allocations: 179.8 kB / 0.7871 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2703, allocations: 0 / 0.7871 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2703, allocations: 0 / 0.7871 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.2703, allocations: 0 / 0.7871 GB, free: 0.8594 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.0007443/0.2711, allocations: 486.5 kB / 0.7875 GB, free: 332 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.2711, allocations: 8.031 kB / 0.7875 GB, free: 324 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.719e-05/0.2712, allocations: 20.83 kB / 0.7875 GB, free: 304 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.2713, allocations: 180.2 kB / 0.7877 GB, free: 84 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.2714, allocations: 4.375 kB / 0.7877 GB, free: 80 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.2714, allocations: 8.375 kB / 0.7877 GB, free: 72 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4335/0.7049, allocations: 81.2 kB / 0.7878 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.705, allocations: 2.391 kB / 0.7878 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.238e-05/0.705, allocations: 0 / 0.7878 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.705, allocations: 1.688 kB / 0.7878 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.7053, allocations: 48.94 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005571/0.7059, allocations: 327.5 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.7061, allocations: 78.94 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.7062, allocations: 44.47 kB / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.512e-05/0.7062, allocations: 0 / 0.7883 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002556/0.7065, allocations: 98.42 kB / 0.7884 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.824e-06/0.7065, allocations: 0 / 0.7884 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0004777/0.707, allocations: 187.3 kB / 0.7886 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.707, allocations: 54.09 kB / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.939e-05/0.7071, allocations: 131.5 kB / 0.7887 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.7071, allocations: 36.95 kB / 0.7888 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.835e-05/0.7072, allocations: 95.77 kB / 0.7889 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.7072, allocations: 19.53 kB / 0.7889 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.7073, allocations: 29.23 kB / 0.7889 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.08e-05/0.7073, allocations: 324.6 kB / 0.7892 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.918e-05/0.7074, allocations: 25.77 kB / 0.7892 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.914e-05/0.7075, allocations: 70.78 kB / 0.7893 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.7076, allocations: 101.2 kB / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7076, allocations: 0.6562 kB / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000204/0.7079, allocations: 130.7 kB / 0.7895 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.7079, allocations: 5.75 kB / 0.7895 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.7079, allocations: 0 / 0.7895 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.7079, allocations: 2.844 kB / 0.7895 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.47e-05/0.708, allocations: 17.19 kB / 0.7896 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.708, allocations: 5.5 kB / 0.7896 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.356e-05/0.7081, allocations: 22.19 kB / 0.7896 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.7081, allocations: 5.25 kB / 0.7896 GB, free: 47.62 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.578e-05/0.7082, allocations: 122.5 kB / 0.7897 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.815e-05/0.7082, allocations: 6.531 kB / 0.7897 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.731e-05/0.7082, allocations: 9.219 kB / 0.7897 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.7082, allocations: 5.422 kB / 0.7897 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7082, allocations: 3.234 kB / 0.7897 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.7083, allocations: 3.938 kB / 0.7897 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004559/0.7087, allocations: 431.4 kB / 0.7901 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.7087, allocations: 0 / 0.7901 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.924e-05/0.7088, allocations: 5.344 kB / 0.7901 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.7088, allocations: 0 / 0.7901 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.7088, allocations: 10.11 kB / 0.7902 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.7088, allocations: 4.219 kB / 0.7902 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.7088, allocations: 0 / 0.7902 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.7091, allocations: 245.3 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.7092, allocations: 84.45 kB / 0.7905 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.7092, allocations: 11.5 kB / 0.7905 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.7093, allocations: 7.641 kB / 0.7905 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.7094, allocations: 11.36 kB / 0.7905 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.183e-05/0.7094, allocations: 2.625 kB / 0.7905 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.144e-05/0.7094, allocations: 105.5 kB / 0.7906 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7094, allocations: 0 / 0.7906 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003396/0.7098, allocations: 47.58 kB / 0.7907 GB, free: 46.89 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.0003266/0.7101, allocations: 170.1 kB / 0.7908 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002649/0.7104, allocations: 94.38 kB / 0.7909 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.7104, allocations: 2.812 kB / 0.7909 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.7105, allocations: 48.31 kB / 0.791 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.7108, allocations: 15.56 kB / 0.791 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004496/0.7113, allocations: 229 kB / 0.7912 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.7114, allocations: 0.693 MB / 0.7919 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.776e-05/0.7114, allocations: 13.59 kB / 0.7919 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of SimCode: time 3.31e-07/0.7114, allocations: 0 / 0.7919 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of Templates: time 0.003473/0.7149, allocations: 1.833 MB / 0.7937 GB, free: 45.84 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)