Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.00151, allocations: 109.4 kB / 15.69 MB, free: 128 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.001603/0.001603, allocations: 189.3 kB / 16.62 MB, free: 6.613 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.548/1.548, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.749/1.749, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001495/0.001495, allocations: 74.7 kB / 0.6723 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2981, allocations: 114.6 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.003292/0.3014, allocations: 1.484 MB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001437/0.3029, allocations: 0.7731 MB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.303, allocations: 0 / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.08e-05/0.303, allocations: 3.938 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.985e-05/0.3031, allocations: 15.8 kB / 0.7863 GB, free: 10.44 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.0006955/0.3038, allocations: 127.6 kB / 0.7865 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000145/0.304, allocations: 75.83 kB / 0.7865 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.3041, allocations: 4 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.3042, allocations: 51.77 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.679e-05/0.3043, allocations: 31.91 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.3043, allocations: 8 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/0.3045, allocations: 95.84 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.201e-05/0.3046, allocations: 19.91 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.132e-05/0.3046, allocations: 31.86 kB / 0.7868 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.3049, allocations: 143.6 kB / 0.7869 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.3049, allocations: 0 / 0.7869 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3049, allocations: 0 / 0.7869 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.3049, allocations: 0 / 0.7869 GB, free: 9.859 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.0006754/0.3056, allocations: 417 kB / 0.7873 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3057, allocations: 11.97 kB / 0.7873 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.388e-05/0.3057, allocations: 8.844 kB / 0.7873 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.3059, allocations: 172.2 kB / 0.7875 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.3059, allocations: 12.36 kB / 0.7875 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.3059, allocations: 8.312 kB / 0.7875 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.3061, allocations: 73.94 kB / 0.7876 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.3062, allocations: 4 kB / 0.7876 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.3062, allocations: 4 kB / 0.7876 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3062, allocations: 4 kB / 0.7876 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.3063, allocations: 35.97 kB / 0.7876 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000619/0.3069, allocations: 308.8 kB / 0.7879 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.3071, allocations: 54.5 kB / 0.788 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.97e-05/0.3072, allocations: 32.97 kB / 0.788 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.3072, allocations: 0 / 0.788 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.3074, allocations: 79.28 kB / 0.7881 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.3074, allocations: 0 / 0.7881 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004066/0.3078, allocations: 149.6 kB / 0.7882 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.3079, allocations: 51.41 kB / 0.7883 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.308, allocations: 125.7 kB / 0.7884 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.308, allocations: 29.7 kB / 0.7884 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.437e-05/0.3081, allocations: 92.12 kB / 0.7885 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.3081, allocations: 19.75 kB / 0.7885 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/0.3082, allocations: 25.7 kB / 0.7886 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3083, allocations: 322.8 kB / 0.7889 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.215e-05/0.3084, allocations: 31.98 kB / 0.7889 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.835e-05/0.3085, allocations: 46.5 kB / 0.7889 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.3087, allocations: 74.48 kB / 0.789 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3087, allocations: 0 / 0.789 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002316/0.3089, allocations: 121.5 kB / 0.7891 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3089, allocations: 4 kB / 0.7891 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.309, allocations: 4 kB / 0.7891 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.309, allocations: 0 / 0.7891 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.214e-05/0.3091, allocations: 11.98 kB / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3091, allocations: 0 / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.727e-05/0.3091, allocations: 4 kB / 0.7891 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.3092, allocations: 4.391 kB / 0.7891 GB, free: 7.316 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.934e-05/0.3093, allocations: 134.4 kB / 0.7893 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.3093, allocations: 7.906 kB / 0.7893 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.349e-05/0.3093, allocations: 8.375 kB / 0.7893 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3093, allocations: 0 / 0.7893 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3094, allocations: 0 / 0.7893 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3094, allocations: 0 / 0.7893 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004603/0.3098, allocations: 394.3 kB / 0.7897 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3098, allocations: 0 / 0.7897 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.855e-05/0.3099, allocations: 7.984 kB / 0.7897 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3099, allocations: 0 / 0.7897 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.3099, allocations: 4 kB / 0.7897 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3099, allocations: 0 / 0.7897 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3099, allocations: 3.938 kB / 0.7897 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.3102, allocations: 215.4 kB / 0.7899 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.417e-05/0.3103, allocations: 85.02 kB / 0.79 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.3103, allocations: 0 / 0.79 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.17e-05/0.3104, allocations: 4 kB / 0.79 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.3104, allocations: 11.92 kB / 0.79 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.3105, allocations: 4 kB / 0.79 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001087/0.3106, allocations: 99.8 kB / 0.7901 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3106, allocations: 3.938 kB / 0.7901 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003059/0.3109, allocations: 36 kB / 0.7901 GB, free: 6.219 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.000356/0.3112, allocations: 165.6 kB / 0.7903 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002339/0.3115, allocations: 67.91 kB / 0.7903 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3115, allocations: 0 / 0.7903 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.775e-05/0.3116, allocations: 31.98 kB / 0.7904 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.3119, allocations: 16.11 kB / 0.7904 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003996/0.3123, allocations: 184.3 kB / 0.7906 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.3126, allocations: 0.6885 MB / 0.7912 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.896e-05/0.3126, allocations: 4 kB / 0.7912 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.3126, allocations: 15.36 kB / 0.7913 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.3127, allocations: 4 kB / 0.7913 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of Templates: time 0.004379/0.317, allocations: 1.456 MB / 0.7927 GB, free: 3.562 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1)