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.001051/0.001051, allocations: 105.2 kB / 16.36 MB, free: 6.312 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.0009905/0.0009905, allocations: 189.5 kB / 17.3 MB, free: 5.871 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.281/1.281, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.751/1.751, allocations: 292.3 MB / 0.5496 GB, free: 17.47 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.001408/0.001408, allocations: 63.91 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1964, allocations: 114.6 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002745/0.1992, allocations: 1.5 MB / 0.7863 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.2004, allocations: 0.7721 MB / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.83e-05/0.2005, allocations: 0 / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.384e-05/0.2005, allocations: 3.938 kB / 0.787 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.538e-05/0.2006, allocations: 15.86 kB / 0.787 GB, free: 0.8594 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.0005902/0.2012, allocations: 119.6 kB / 0.7871 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001177/0.2013, allocations: 75.77 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.122e-05/0.2014, allocations: 12 kB / 0.7872 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.632e-05/0.2015, allocations: 39.84 kB / 0.7873 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.789e-05/0.2016, allocations: 35.89 kB / 0.7873 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.2016, allocations: 4 kB / 0.7873 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.2018, allocations: 99.84 kB / 0.7874 GB, free: 492 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.749e-05/0.2019, allocations: 23.91 kB / 0.7874 GB, free: 468 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.2019, allocations: 27.86 kB / 0.7874 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.2022, allocations: 143.5 kB / 0.7876 GB, free: 296 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2022, allocations: 0 / 0.7876 GB, free: 296 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2022, allocations: 4 kB / 0.7876 GB, free: 292 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.2022, allocations: 0 / 0.7876 GB, free: 292 kB / 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.3283/0.5305, allocations: 420 kB / 0.788 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.5306, allocations: 8.281 kB / 0.788 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.5306, allocations: 9.312 kB / 0.788 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.624e-05/0.5307, allocations: 171.3 kB / 0.7882 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.5307, allocations: 5.734 kB / 0.7882 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.5308, allocations: 4.781 kB / 0.7882 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.5309, allocations: 69.55 kB / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.5309, allocations: 0 / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.5309, allocations: 11.86 kB / 0.7883 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.531, allocations: 2.656 kB / 0.7883 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.5311, allocations: 36.33 kB / 0.7883 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004749/0.5316, allocations: 311.5 kB / 0.7886 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.5317, allocations: 57.94 kB / 0.7886 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.307e-05/0.5318, allocations: 34.28 kB / 0.7887 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.5318, allocations: 1 kB / 0.7887 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/0.5319, allocations: 76.64 kB / 0.7888 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 2.224e-06/0.5319, allocations: 0 / 0.7888 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003287/0.5323, allocations: 138.3 kB / 0.7889 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.018e-05/0.5323, allocations: 54.75 kB / 0.7889 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.761e-05/0.5324, allocations: 133.3 kB / 0.7891 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.5324, allocations: 25.7 kB / 0.7891 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.97e-05/0.5324, allocations: 91.67 kB / 0.7892 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.583e-05/0.5324, allocations: 19.12 kB / 0.7892 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.5325, allocations: 29.38 kB / 0.7892 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.5325, allocations: 321 kB / 0.7895 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.203e-05/0.5326, allocations: 25.14 kB / 0.7895 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.448e-05/0.5327, allocations: 51.06 kB / 0.7896 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.5328, allocations: 75.27 kB / 0.7897 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5328, allocations: 0 / 0.7897 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002038/0.533, allocations: 112.7 kB / 0.7898 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.5331, allocations: 6.062 kB / 0.7898 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.5331, allocations: 0 / 0.7898 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.5331, allocations: 5.562 kB / 0.7898 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.612e-05/0.5332, allocations: 15.22 kB / 0.7898 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.5332, allocations: 0 / 0.7898 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.024e-05/0.5333, allocations: 13.12 kB / 0.7898 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.5333, allocations: 2.75 kB / 0.7898 GB, free: 47.54 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 5.887e-05/0.5333, allocations: 124.5 kB / 0.7899 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.5334, allocations: 11.66 kB / 0.7899 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.342e-05/0.5334, allocations: 8.188 kB / 0.79 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.5334, allocations: 2.906 kB / 0.79 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.5334, allocations: 1.875 kB / 0.79 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.754e-05/0.5334, allocations: 81.64 kB / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.5335, allocations: 4 kB / 0.79 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.802e-05/0.5335, allocations: 12.12 kB / 0.7901 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.5336, allocations: 9.891 kB / 0.7901 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002417/0.5338, allocations: 191.7 kB / 0.7902 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002262/0.534, allocations: 279 kB / 0.7905 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.898e-05/0.5341, allocations: 35.95 kB / 0.7905 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.944e-05/0.5342, allocations: 95.7 kB / 0.7906 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of Backend: time 3.11e-07/0.5342, allocations: 0 / 0.7906 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005766/0.5348, allocations: 183.4 kB / 0.7908 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0002937/0.5351, allocations: 0.6097 MB / 0.7914 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of Templates: time 0.003252/0.5383, allocations: 1.498 MB / 0.7929 GB, free: 46.22 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 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)