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.001443/0.001443, allocations: 103.6 kB / 16.35 MB, free: 5.879 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.001598/0.001598, allocations: 197.3 kB / 17.29 MB, free: 5.516 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.37/1.37, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.833/1.833, allocations: 292.3 MB / 0.5496 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.001405/0.001406, allocations: 63.91 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2152, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002618/0.2179, allocations: 1.489 MB / 0.7862 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.2191, allocations: 0.7721 MB / 0.787 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.76e-05/0.2192, allocations: 0 / 0.787 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.338e-05/0.2192, allocations: 7.875 kB / 0.787 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.9e-05/0.2193, allocations: 7.922 kB / 0.787 GB, free: 0.8945 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.00054/0.2198, allocations: 123.6 kB / 0.7871 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.2199, allocations: 79.72 kB / 0.7872 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.75e-05/0.22, allocations: 11.98 kB / 0.7872 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.13e-05/0.2201, allocations: 35.91 kB / 0.7872 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.429e-05/0.2202, allocations: 31.91 kB / 0.7873 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.2202, allocations: 8 kB / 0.7873 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001808/0.2204, allocations: 95.84 kB / 0.7874 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.2205, allocations: 23.89 kB / 0.7874 GB, free: 0.4922 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/0.2205, allocations: 35.8 kB / 0.7874 GB, free: 468 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.2207, allocations: 139.6 kB / 0.7876 GB, free: 328 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2208, allocations: 0 / 0.7876 GB, free: 328 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2208, allocations: 4 kB / 0.7876 GB, free: 324 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.2208, allocations: 0 / 0.7876 GB, free: 324 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.3751/0.5958, allocations: 417.3 kB / 0.788 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.5959, allocations: 10 kB / 0.788 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.543e-05/0.596, allocations: 8.219 kB / 0.788 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.054e-05/0.5961, allocations: 175 kB / 0.7881 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.5961, allocations: 5.438 kB / 0.7881 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.5961, allocations: 5.625 kB / 0.7882 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.5963, allocations: 71.64 kB / 0.7882 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.5963, allocations: 0 / 0.7882 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.5964, allocations: 3.938 kB / 0.7882 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.5964, allocations: 3.656 kB / 0.7882 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.5965, allocations: 41.92 kB / 0.7883 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005689/0.5971, allocations: 307.9 kB / 0.7886 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.5972, allocations: 56.73 kB / 0.7886 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.098e-05/0.5973, allocations: 35.16 kB / 0.7887 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.5973, allocations: 1 kB / 0.7887 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002022/0.5975, allocations: 77.67 kB / 0.7887 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.5976, allocations: 3 kB / 0.7887 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003532/0.5979, allocations: 139.3 kB / 0.7889 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.598, allocations: 56 kB / 0.7889 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.695e-05/0.598, allocations: 126.4 kB / 0.789 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.5981, allocations: 32.02 kB / 0.7891 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.435e-05/0.5981, allocations: 91.78 kB / 0.7892 GB, free: 48 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.5981, allocations: 18.09 kB / 0.7892 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.5982, allocations: 23.67 kB / 0.7892 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.036e-05/0.5982, allocations: 324.7 kB / 0.7895 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.51e-05/0.5983, allocations: 28.03 kB / 0.7895 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.808e-05/0.5984, allocations: 54.06 kB / 0.7896 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.5985, allocations: 73.36 kB / 0.7897 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5985, allocations: 2.906 kB / 0.7897 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002263/0.5988, allocations: 105.7 kB / 0.7898 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.5988, allocations: 5.25 kB / 0.7898 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.5988, allocations: 2.625 kB / 0.7898 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.5988, allocations: 0 / 0.7898 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.5989, allocations: 18.5 kB / 0.7898 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.599, allocations: 7.531 kB / 0.7898 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.788e-05/0.599, allocations: 2.562 kB / 0.7898 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.5991, allocations: 12.09 kB / 0.7898 GB, free: 47.57 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 7.908e-05/0.5991, allocations: 125.8 kB / 0.7899 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.69e-05/0.5992, allocations: 10.12 kB / 0.7899 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.5992, allocations: 7.875 kB / 0.7899 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5992, allocations: 1.172 kB / 0.7899 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5992, allocations: 3.031 kB / 0.7899 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5992, allocations: 3.188 kB / 0.7899 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003724/0.5996, allocations: 380.4 kB / 0.7903 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.5996, allocations: 0 / 0.7903 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.852e-05/0.5997, allocations: 7.422 kB / 0.7903 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.5997, allocations: 2.562 kB / 0.7903 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.5997, allocations: 3.438 kB / 0.7903 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5997, allocations: 0.5 kB / 0.7903 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5997, allocations: 2.594 kB / 0.7903 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.5999, allocations: 217.5 kB / 0.7905 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.001e-05/0.6, allocations: 83.64 kB / 0.7906 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.6, allocations: 4.234 kB / 0.7906 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.396e-05/0.6001, allocations: 3.688 kB / 0.7906 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.6001, allocations: 12.75 kB / 0.7906 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.6001, allocations: 0.625 kB / 0.7906 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.799e-05/0.6002, allocations: 95.72 kB / 0.7907 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.6002, allocations: 0 / 0.7907 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003161/0.6005, allocations: 44.36 kB / 0.7908 GB, free: 46.84 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.0003254/0.6008, allocations: 159.5 kB / 0.7909 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002372/0.6011, allocations: 73.78 kB / 0.791 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6011, allocations: 0 / 0.791 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.866e-05/0.6012, allocations: 32.83 kB / 0.791 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.6014, allocations: 16.5 kB / 0.791 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/0.6018, allocations: 183.5 kB / 0.7912 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.6019, allocations: 0.6886 MB / 0.7919 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.37e-05/0.602, allocations: 11.09 kB / 0.7919 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.602, allocations: 10.06 kB / 0.7919 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of SimCode: time 5.91e-07/0.602, allocations: 0 / 0.7919 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of Templates: time 0.003574/0.6056, allocations: 1.452 MB / 0.7933 GB, free: 45.87 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1)