Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 102.3 kB / 16.35 MB, free: 6.348 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.001528/0.001528, allocations: 194 kB / 17.29 MB, free: 5.93 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.397/1.397, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.764/1.764, allocations: 292.3 MB / 0.5496 GB, free: 17.58 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.001438/0.001438, allocations: 79.88 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2285, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003395/0.2319, allocations: 1.578 MB / 0.7863 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001595/0.2336, allocations: 0.8189 MB / 0.7871 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.202e-05/0.2337, allocations: 4 kB / 0.7871 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.506e-05/0.2337, allocations: 7.875 kB / 0.7871 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.349e-05/0.2338, allocations: 15.8 kB / 0.7871 GB, free: 0.7383 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.0006383/0.2345, allocations: 151.6 kB / 0.7873 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.2347, allocations: 131.6 kB / 0.7874 GB, free: 472 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.2348, allocations: 16 kB / 0.7874 GB, free: 456 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.2349, allocations: 67.75 kB / 0.7875 GB, free: 388 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.235, allocations: 75.66 kB / 0.7876 GB, free: 312 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.235, allocations: 16 kB / 0.7876 GB, free: 296 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.2352, allocations: 103.8 kB / 0.7877 GB, free: 192 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.746e-05/0.2353, allocations: 27.91 kB / 0.7877 GB, free: 164 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.973e-05/0.2354, allocations: 51.78 kB / 0.7878 GB, free: 112 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.3955/0.6309, allocations: 192.6 kB / 0.7879 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.6309, allocations: 0 / 0.7879 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.994e-06/0.631, allocations: 0 / 0.7879 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.631, allocations: 0 / 0.7879 GB, free: 46.71 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007691/0.6317, allocations: 487.8 kB / 0.7884 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.6318, allocations: 8.625 kB / 0.7884 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.419e-05/0.6319, allocations: 11.31 kB / 0.7884 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.754e-05/0.632, allocations: 185.4 kB / 0.7886 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.632, allocations: 10.66 kB / 0.7886 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.632, allocations: 7.469 kB / 0.7886 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.6323, allocations: 100.9 kB / 0.7887 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.6323, allocations: 0 / 0.7887 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.6323, allocations: 0 / 0.7887 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.6323, allocations: 2.688 kB / 0.7887 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.6325, allocations: 63.06 kB / 0.7888 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007681/0.6333, allocations: 369.6 kB / 0.7891 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.6335, allocations: 75.88 kB / 0.7892 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.6336, allocations: 50.66 kB / 0.7893 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.6336, allocations: 0 / 0.7893 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002396/0.6339, allocations: 101.3 kB / 0.7894 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.6339, allocations: 5.594 kB / 0.7894 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0005178/0.6344, allocations: 210.3 kB / 0.7896 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.6344, allocations: 57.78 kB / 0.7896 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.518e-05/0.6345, allocations: 154.1 kB / 0.7898 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.6346, allocations: 33.67 kB / 0.7898 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.184e-05/0.6346, allocations: 100.5 kB / 0.7899 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.6346, allocations: 22.11 kB / 0.7899 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/0.6347, allocations: 27.3 kB / 0.7899 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.722e-05/0.6348, allocations: 328.2 kB / 0.7902 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.6349, allocations: 41.47 kB / 0.7903 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.635, allocations: 71.45 kB / 0.7904 GB, free: 45 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.6352, allocations: 117.6 kB / 0.7905 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.6353, allocations: 0 / 0.7905 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003154/0.6356, allocations: 157.9 kB / 0.7906 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.6356, allocations: 6 kB / 0.7906 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.6356, allocations: 6.641 kB / 0.7906 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.6356, allocations: 0 / 0.7906 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.6358, allocations: 22.14 kB / 0.7907 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.6358, allocations: 6.375 kB / 0.7907 GB, free: 44.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.6359, allocations: 16.62 kB / 0.7907 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.6359, allocations: 4.734 kB / 0.7907 GB, free: 44.91 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.67e-05/0.6361, allocations: 124.4 kB / 0.7908 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.6361, allocations: 9.219 kB / 0.7908 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.6361, allocations: 11.81 kB / 0.7908 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.6361, allocations: 1.453 kB / 0.7908 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.6361, allocations: 4.469 kB / 0.7908 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.6362, allocations: 2.125 kB / 0.7908 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000549/0.6367, allocations: 460.8 kB / 0.7913 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.6367, allocations: 1.391 kB / 0.7913 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/0.6368, allocations: 10.69 kB / 0.7913 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.6368, allocations: 6.469 kB / 0.7913 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.6368, allocations: 8.688 kB / 0.7913 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.6368, allocations: 4.109 kB / 0.7913 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6368, allocations: 0 / 0.7913 GB, free: 44.49 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.6372, allocations: 267.8 kB / 0.7915 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.202e-05/0.6372, allocations: 87.58 kB / 0.7916 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.73e-05/0.6373, allocations: 11.83 kB / 0.7916 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.6374, allocations: 8.531 kB / 0.7917 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/0.6375, allocations: 7.328 kB / 0.7917 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.6375, allocations: 9.469 kB / 0.7917 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.824e-05/0.6375, allocations: 106.8 kB / 0.7918 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6375, allocations: 0 / 0.7918 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000338/0.6379, allocations: 45.98 kB / 0.7918 GB, free: 44.18 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003558/0.6382, allocations: 165.5 kB / 0.792 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003107/0.6386, allocations: 107 kB / 0.7921 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6386, allocations: 0 / 0.7921 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.6387, allocations: 61.84 kB / 0.7921 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.639, allocations: 17.92 kB / 0.7921 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004554/0.6395, allocations: 230.9 kB / 0.7924 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001281/0.6396, allocations: 0.6971 MB / 0.793 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.968e-05/0.6397, allocations: 7.469 kB / 0.7931 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.6397, allocations: 20.05 kB / 0.7931 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of SimCode: time 4.4e-07/0.6397, allocations: 0 / 0.7931 GB, free: 43.25 MB / 0.6544 GB Notification: Performance of Templates: time 0.004365/0.6441, allocations: 1.968 MB / 0.795 GB, free: 43.16 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)