Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 103.8 kB / 16.29 MB, free: 6.012 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.001809/0.001809, allocations: 181.5 kB / 17.22 MB, free: 5.621 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.482/1.482, 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.902/1.902, allocations: 292.3 MB / 0.5495 GB, free: 17.62 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.001606/0.001606, allocations: 76.22 kB / 0.6722 GB, free: 6.543 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2489, allocations: 114.6 MB / 0.7841 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002655/0.2516, allocations: 1.492 MB / 0.7855 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.2529, allocations: 0.7643 MB / 0.7863 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.986e-05/0.253, allocations: 0 / 0.7863 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.656e-05/0.253, allocations: 3.938 kB / 0.7863 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.753e-05/0.2531, allocations: 15.88 kB / 0.7863 GB, free: 1.574 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.0005596/0.2537, allocations: 123.5 kB / 0.7864 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.2538, allocations: 87.69 kB / 0.7865 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.539e-05/0.2539, allocations: 7.984 kB / 0.7865 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.832e-05/0.254, allocations: 39.91 kB / 0.7865 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.076e-05/0.254, allocations: 35.89 kB / 0.7866 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.2541, allocations: 7.938 kB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.2543, allocations: 103.8 kB / 0.7867 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.676e-05/0.2543, allocations: 11.98 kB / 0.7867 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.603e-05/0.2544, allocations: 31.86 kB / 0.7867 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.2546, allocations: 143.9 kB / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2546, allocations: 0 / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.685e-06/0.2546, allocations: 0 / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.2546, allocations: 3.938 kB / 0.7869 GB, free: 0.9883 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.0005979/0.2552, allocations: 413 kB / 0.7873 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2553, allocations: 16.03 kB / 0.7873 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.2553, allocations: 4.844 kB / 0.7873 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.2554, allocations: 180.2 kB / 0.7875 GB, free: 304 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.2555, allocations: 4.375 kB / 0.7875 GB, free: 300 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.2555, allocations: 8.359 kB / 0.7875 GB, free: 292 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.2557, allocations: 73.97 kB / 0.7875 GB, free: 212 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2557, allocations: 0 / 0.7875 GB, free: 212 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.2557, allocations: 0 / 0.7875 GB, free: 212 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2557, allocations: 0 / 0.7875 GB, free: 212 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.2558, allocations: 39.97 kB / 0.7876 GB, free: 172 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4424/0.6983, allocations: 307 kB / 0.7879 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.6985, allocations: 48.12 kB / 0.7879 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.643e-05/0.6986, allocations: 30.45 kB / 0.7879 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.6986, allocations: 8.391 kB / 0.788 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002382/0.6988, allocations: 79.14 kB / 0.788 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.855e-06/0.6989, allocations: 0 / 0.788 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003778/0.6992, allocations: 143.9 kB / 0.7882 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.629e-05/0.6993, allocations: 55.34 kB / 0.7882 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.255e-05/0.6994, allocations: 121.8 kB / 0.7883 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.6994, allocations: 27.83 kB / 0.7884 GB, free: 48.47 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.597e-05/0.6994, allocations: 91.55 kB / 0.7884 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.6995, allocations: 21.72 kB / 0.7885 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-05/0.6995, allocations: 34.11 kB / 0.7885 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.774e-05/0.6996, allocations: 318.7 kB / 0.7888 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.942e-05/0.6996, allocations: 25.62 kB / 0.7888 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.107e-05/0.6997, allocations: 47.84 kB / 0.7889 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.6998, allocations: 72.02 kB / 0.7889 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.6999, allocations: 5.219 kB / 0.7889 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002001/0.7001, allocations: 123 kB / 0.7891 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.7001, allocations: 3.125 kB / 0.7891 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.7001, allocations: 3 kB / 0.7891 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.7001, allocations: 0 / 0.7891 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.305e-05/0.7002, allocations: 16.47 kB / 0.7891 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.892e-06/0.7002, allocations: 4.844 kB / 0.7891 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.138e-05/0.7003, allocations: 9.312 kB / 0.7891 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.7003, allocations: 2.625 kB / 0.7891 GB, free: 47.98 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.391e-05/0.7004, allocations: 128.6 kB / 0.7892 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.7004, allocations: 10.97 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.583e-05/0.7004, allocations: 7.609 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.7004, allocations: 2.594 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.7005, allocations: 0.5312 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.7005, allocations: 2.344 kB / 0.7893 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003558/0.7008, allocations: 381.5 kB / 0.7896 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.7008, allocations: 0 / 0.7896 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.76e-05/0.7009, allocations: 5.953 kB / 0.7896 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.7009, allocations: 3.156 kB / 0.7896 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.7009, allocations: 4.406 kB / 0.7896 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.7009, allocations: 0.9844 kB / 0.7896 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.7009, allocations: 0 / 0.7896 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.7011, allocations: 208 kB / 0.7898 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/0.7012, allocations: 84.97 kB / 0.7899 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.7012, allocations: 2.844 kB / 0.7899 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.337e-05/0.7013, allocations: 6.375 kB / 0.7899 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.7013, allocations: 6.312 kB / 0.7899 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.7013, allocations: 6.062 kB / 0.7899 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.142e-05/0.7014, allocations: 95.89 kB / 0.79 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7014, allocations: 1.656 kB / 0.79 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002932/0.7017, allocations: 35.14 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.0003198/0.702, allocations: 169 kB / 0.7902 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002095/0.7022, allocations: 81.41 kB / 0.7903 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7022, allocations: 0 / 0.7903 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.192e-05/0.7023, allocations: 34.95 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.0002521/0.7026, allocations: 9.891 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.0003376/0.7029, allocations: 182.8 kB / 0.7905 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.7031, allocations: 0.6909 MB / 0.7912 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.402e-05/0.7031, allocations: 6.094 kB / 0.7912 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.455e-05/0.7031, allocations: 9.906 kB / 0.7912 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.7031, allocations: 3.688 kB / 0.7912 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of Templates: time 0.003835/0.707, allocations: 1.453 MB / 0.7926 GB, free: 46.29 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)