Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 106.7 kB / 16.29 MB, free: 6.426 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.001462/0.001463, allocations: 188.5 kB / 17.22 MB, free: 5.957 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.577/1.577, 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.818/1.818, allocations: 292.3 MB / 0.5495 GB, free: 17.57 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.001401/0.001401, allocations: 63.91 kB / 0.6722 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.25, allocations: 114.6 MB / 0.7841 GB, free: 3.871 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.003208/0.2533, allocations: 1.489 MB / 0.7855 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001445/0.2547, allocations: 0.772 MB / 0.7863 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.046e-05/0.2548, allocations: 4 kB / 0.7863 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.709e-05/0.2548, allocations: 3.938 kB / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.89e-05/0.2549, allocations: 11.86 kB / 0.7863 GB, free: 1.562 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. Notification: Performance of NFTyping.typeClassSections: time 0.0005591/0.2555, allocations: 123.5 kB / 0.7864 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.2556, allocations: 83.75 kB / 0.7865 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.916e-05/0.2557, allocations: 16 kB / 0.7865 GB, free: 1.344 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.977e-05/0.2558, allocations: 31.91 kB / 0.7865 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.552e-05/0.2559, allocations: 35.89 kB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.2559, allocations: 8 kB / 0.7866 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001999/0.2561, allocations: 99.78 kB / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.797e-05/0.2561, allocations: 15.98 kB / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.533e-05/0.2562, allocations: 27.86 kB / 0.7867 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002666/0.2565, allocations: 147.8 kB / 0.7869 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2565, allocations: 0 / 0.7869 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of FrontEnd: time 5.36e-06/0.2565, allocations: 11.98 kB / 0.7869 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.466e-05/0.2565, allocations: 0 / 0.7869 GB, free: 0.9727 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006487/0.2572, allocations: 412.9 kB / 0.7873 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.2572, allocations: 12.03 kB / 0.7873 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.2573, allocations: 8.844 kB / 0.7873 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.2574, allocations: 176.2 kB / 0.7875 GB, free: 292 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.2575, allocations: 384 / 0.7875 GB, free: 292 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.2575, allocations: 4.375 kB / 0.7875 GB, free: 288 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.2577, allocations: 77.97 kB / 0.7875 GB, free: 204 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.2577, allocations: 0 / 0.7875 GB, free: 204 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.2577, allocations: 0 / 0.7875 GB, free: 204 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2577, allocations: 0 / 0.7875 GB, free: 204 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.2579, allocations: 39.91 kB / 0.7876 GB, free: 164 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4834/0.7412, allocations: 308 kB / 0.7879 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.7414, allocations: 50.19 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.414e-05/0.7415, allocations: 33.67 kB / 0.788 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.7416, allocations: 3.5 kB / 0.788 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002878/0.7419, allocations: 77.34 kB / 0.788 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.945e-06/0.7419, allocations: 2.75 kB / 0.788 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0004117/0.7423, allocations: 137.7 kB / 0.7882 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.7423, allocations: 58.39 kB / 0.7882 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.807e-05/0.7424, allocations: 118.4 kB / 0.7883 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.7425, allocations: 35.2 kB / 0.7884 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.867e-05/0.7425, allocations: 86.27 kB / 0.7884 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.7425, allocations: 19.09 kB / 0.7885 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/0.7426, allocations: 34.22 kB / 0.7885 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.091e-05/0.7427, allocations: 319.4 kB / 0.7888 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.253e-05/0.7428, allocations: 28.27 kB / 0.7888 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.295e-05/0.7428, allocations: 48.94 kB / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.743, allocations: 71.08 kB / 0.7889 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.743, allocations: 0.6562 kB / 0.7889 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000205/0.7432, allocations: 120 kB / 0.7891 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.7432, allocations: 7.5 kB / 0.7891 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.7433, allocations: 0 / 0.7891 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.7433, allocations: 0.5938 kB / 0.7891 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.99e-05/0.7434, allocations: 16.47 kB / 0.7891 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.545e-06/0.7434, allocations: 3.062 kB / 0.7891 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.361e-05/0.7435, allocations: 14.38 kB / 0.7891 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.7435, allocations: 3.438 kB / 0.7891 GB, free: 47.97 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.96e-05/0.7436, allocations: 120.5 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.7436, allocations: 6.812 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.896e-05/0.7436, allocations: 8.594 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.7436, allocations: 6.125 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.7436, allocations: 1.719 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.7436, allocations: 0 / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003561/0.744, allocations: 381.6 kB / 0.7896 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.744, allocations: 4.094 kB / 0.7896 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.586e-05/0.7441, allocations: 6.953 kB / 0.7896 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.7441, allocations: 0.5312 kB / 0.7896 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.7441, allocations: 5.312 kB / 0.7896 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.7441, allocations: 6.094 kB / 0.7896 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.7441, allocations: 0 / 0.7896 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.7444, allocations: 210.4 kB / 0.7898 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.7444, allocations: 88.95 kB / 0.7899 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.7444, allocations: 3.75 kB / 0.7899 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.227e-05/0.7445, allocations: 2.625 kB / 0.7899 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.7446, allocations: 5.953 kB / 0.7899 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.7446, allocations: 2.625 kB / 0.7899 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.803e-05/0.7446, allocations: 93.55 kB / 0.79 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.7447, allocations: 6.469 kB / 0.79 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003298/0.745, allocations: 39.25 kB / 0.7901 GB, free: 47.25 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003736/0.7454, allocations: 161.7 kB / 0.7902 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002479/0.7456, allocations: 80.86 kB / 0.7903 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.7456, allocations: 0 / 0.7903 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.156e-05/0.7457, allocations: 34.17 kB / 0.7903 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.746, allocations: 9.469 kB / 0.7903 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.7464, allocations: 186.3 kB / 0.7905 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.7466, allocations: 0.6886 MB / 0.7912 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.547e-05/0.7466, allocations: 8.875 kB / 0.7912 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.746e-05/0.7466, allocations: 10.06 kB / 0.7912 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of SimCode: time 5.11e-07/0.7467, allocations: 0 / 0.7912 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of Templates: time 0.004356/0.751, allocations: 1.45 MB / 0.7926 GB, free: 46.29 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)