Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001303, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 188.2 kB / 16.64 MB, free: 6.594 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.554/1.554, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.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.809/1.809, allocations: 292.3 MB / 0.549 GB, free: 12.79 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.001432/0.001432, allocations: 66.3 kB / 0.6723 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2788, allocations: 114.6 MB / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002739/0.2816, allocations: 1.499 MB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.2829, allocations: 0.7731 MB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.08e-05/0.2829, allocations: 0 / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.393e-05/0.283, allocations: 7.922 kB / 0.7864 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.921e-05/0.2831, allocations: 11.88 kB / 0.7864 GB, free: 10.47 MB / 0.6075 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.0005785/0.2836, allocations: 119.6 kB / 0.7865 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.2838, allocations: 79.7 kB / 0.7866 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.2839, allocations: 15.98 kB / 0.7866 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.566e-05/0.284, allocations: 31.92 kB / 0.7866 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.922e-05/0.2841, allocations: 35.83 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.2841, allocations: 8 kB / 0.7866 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.2843, allocations: 103.8 kB / 0.7867 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.864e-05/0.2843, allocations: 11.98 kB / 0.7868 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.745e-05/0.2844, allocations: 39.78 kB / 0.7868 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.2846, allocations: 147.6 kB / 0.7869 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2846, allocations: 0 / 0.7869 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2846, allocations: 0 / 0.7869 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.2847, allocations: 0 / 0.7869 GB, free: 9.891 MB / 0.6075 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.0006814/0.2853, allocations: 409 kB / 0.7873 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.2854, allocations: 8.031 kB / 0.7873 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.2854, allocations: 8.844 kB / 0.7873 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.2856, allocations: 180.2 kB / 0.7875 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.2856, allocations: 8.375 kB / 0.7875 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.2856, allocations: 8.375 kB / 0.7875 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.2858, allocations: 69.91 kB / 0.7876 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2859, allocations: 0 / 0.7876 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.2859, allocations: 0 / 0.7876 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.2859, allocations: 4 kB / 0.7876 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.286, allocations: 39.97 kB / 0.7876 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006122/0.2867, allocations: 312.8 kB / 0.7879 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.2868, allocations: 58.48 kB / 0.788 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.461e-05/0.2869, allocations: 32.97 kB / 0.788 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.2869, allocations: 4 kB / 0.788 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.2871, allocations: 79.28 kB / 0.7881 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.2871, allocations: 0 / 0.7881 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004477/0.2876, allocations: 137.8 kB / 0.7882 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.2876, allocations: 51.41 kB / 0.7883 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.2877, allocations: 133.6 kB / 0.7884 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.2878, allocations: 29.7 kB / 0.7884 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.2878, allocations: 88.14 kB / 0.7885 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.2879, allocations: 23.81 kB / 0.7885 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-05/0.2879, allocations: 29.7 kB / 0.7886 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002121/0.2881, allocations: 322.8 kB / 0.7889 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.073e-05/0.2882, allocations: 27.98 kB / 0.7889 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.587e-05/0.2883, allocations: 46.55 kB / 0.7889 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.2885, allocations: 78.56 kB / 0.789 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2885, allocations: 0 / 0.789 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002723/0.2887, allocations: 113.5 kB / 0.7891 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2888, allocations: 4 kB / 0.7891 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2888, allocations: 4 kB / 0.7891 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2888, allocations: 0 / 0.7891 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.118e-05/0.2889, allocations: 11.98 kB / 0.7891 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2889, allocations: 4.062 kB / 0.7892 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.055e-05/0.289, allocations: 8 kB / 0.7892 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.289, allocations: 11.92 kB / 0.7892 GB, free: 7.344 MB / 0.6075 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 9.504e-05/0.2891, allocations: 120.9 kB / 0.7893 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.2891, allocations: 7.906 kB / 0.7893 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/0.2892, allocations: 12.38 kB / 0.7893 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2892, allocations: 0 / 0.7893 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.2892, allocations: 0 / 0.7893 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.2892, allocations: 7.984 kB / 0.7893 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004626/0.2896, allocations: 382.4 kB / 0.7897 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2897, allocations: 3.938 kB / 0.7897 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.738e-05/0.2897, allocations: 7.984 kB / 0.7897 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.2897, allocations: 3.984 kB / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.2897, allocations: 4 kB / 0.7897 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2897, allocations: 3.938 kB / 0.7897 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.2897, allocations: 3.938 kB / 0.7897 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.29, allocations: 211.4 kB / 0.7899 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.899e-05/0.2901, allocations: 85.02 kB / 0.79 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.2901, allocations: 0 / 0.79 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.318e-05/0.2902, allocations: 7.984 kB / 0.79 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.2902, allocations: 11.88 kB / 0.79 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.2903, allocations: 0 / 0.79 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.18e-05/0.2903, allocations: 99.27 kB / 0.7901 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2903, allocations: 0 / 0.7901 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002968/0.2906, allocations: 35.98 kB / 0.7901 GB, free: 6.258 MB / 0.6075 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.0003421/0.291, allocations: 156.4 kB / 0.7903 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00025/0.2912, allocations: 84.16 kB / 0.7904 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2913, allocations: 0 / 0.7904 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.459e-05/0.2914, allocations: 31.98 kB / 0.7904 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.2916, allocations: 6.406 kB / 0.7904 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004045/0.292, allocations: 192.2 kB / 0.7906 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.2924, allocations: 0.6924 MB / 0.7913 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.881e-05/0.2925, allocations: 7.984 kB / 0.7913 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.375e-05/0.2925, allocations: 11.38 kB / 0.7913 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of SimCode: time 5.61e-07/0.2925, allocations: 0 / 0.7913 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of Templates: time 0.004118/0.2966, allocations: 1.45 MB / 0.7927 GB, free: 3.598 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)