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.001349/0.001349, allocations: 109.4 kB / 16.37 MB, free: 6.465 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.001307/0.001307, allocations: 189.8 kB / 17.31 MB, free: 5.809 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.439/1.439, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.769/1.769, allocations: 292.3 MB / 0.5496 GB, free: 17.65 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.002613/0.002614, allocations: 63.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2351, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002712/0.2379, allocations: 1.585 MB / 0.7863 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.2392, allocations: 0.8305 MB / 0.7872 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.2393, allocations: 0 / 0.7872 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.064e-05/0.2393, allocations: 15.8 kB / 0.7872 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.237e-05/0.2394, allocations: 19.81 kB / 0.7872 GB, free: 0.6797 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.0005813/0.24, allocations: 143.6 kB / 0.7873 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.2402, allocations: 131.7 kB / 0.7874 GB, free: 420 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.78e-05/0.2403, allocations: 19.92 kB / 0.7875 GB, free: 400 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.2404, allocations: 59.89 kB / 0.7875 GB, free: 340 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.912e-05/0.2405, allocations: 75.72 kB / 0.7876 GB, free: 264 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.2405, allocations: 8 kB / 0.7876 GB, free: 256 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002156/0.2407, allocations: 107.8 kB / 0.7877 GB, free: 148 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.166e-05/0.2408, allocations: 27.91 kB / 0.7877 GB, free: 120 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.336e-05/0.2409, allocations: 59.7 kB / 0.7878 GB, free: 60 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.3279/0.5688, allocations: 188.7 kB / 0.788 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.5688, allocations: 0 / 0.788 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5688, allocations: 0 / 0.788 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.411e-05/0.5688, allocations: 0 / 0.788 GB, free: 46.89 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.0006624/0.5695, allocations: 492.2 kB / 0.7884 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.5695, allocations: 7.375 kB / 0.7884 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.5696, allocations: 12.69 kB / 0.7885 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.79e-05/0.5697, allocations: 183.4 kB / 0.7886 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.5697, allocations: 3.094 kB / 0.7886 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.5698, allocations: 8.734 kB / 0.7886 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.57, allocations: 101.9 kB / 0.7887 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.57, allocations: 0 / 0.7887 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.57, allocations: 1 kB / 0.7887 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.5701, allocations: 2.156 kB / 0.7887 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.5703, allocations: 61.45 kB / 0.7888 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007371/0.571, allocations: 375.3 kB / 0.7892 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.5712, allocations: 71 kB / 0.7892 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.5713, allocations: 52.62 kB / 0.7893 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.5713, allocations: 4.672 kB / 0.7893 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.5715, allocations: 105.7 kB / 0.7894 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.864e-06/0.5715, allocations: 1.172 kB / 0.7894 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0005229/0.572, allocations: 209.9 kB / 0.7896 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.5721, allocations: 63.42 kB / 0.7896 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.502e-05/0.5722, allocations: 147.4 kB / 0.7898 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.5722, allocations: 28.7 kB / 0.7898 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.5723, allocations: 105.4 kB / 0.7899 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.5723, allocations: 18.25 kB / 0.7899 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/0.5723, allocations: 32.91 kB / 0.79 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.828e-05/0.5724, allocations: 322.1 kB / 0.7903 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.5725, allocations: 44.89 kB / 0.7903 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.5726, allocations: 74.56 kB / 0.7904 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.5729, allocations: 112.9 kB / 0.7905 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5729, allocations: 2.844 kB / 0.7905 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002964/0.5732, allocations: 158 kB / 0.7906 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.5732, allocations: 6.688 kB / 0.7907 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.5732, allocations: 0 / 0.7907 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.5732, allocations: 5.406 kB / 0.7907 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.5734, allocations: 22.72 kB / 0.7907 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.5734, allocations: 5.125 kB / 0.7907 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.5735, allocations: 16.8 kB / 0.7907 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.5735, allocations: 7.016 kB / 0.7907 GB, free: 45.09 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 7.417e-05/0.5736, allocations: 123 kB / 0.7908 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.02e-05/0.5736, allocations: 8.312 kB / 0.7908 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.307e-05/0.5737, allocations: 13.92 kB / 0.7908 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.5737, allocations: 4.312 kB / 0.7908 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5737, allocations: 3.938 kB / 0.7909 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.5737, allocations: 1.281 kB / 0.7909 GB, free: 44.97 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005187/0.5742, allocations: 464.5 kB / 0.7913 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5742, allocations: 0 / 0.7913 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.118e-05/0.5743, allocations: 12.78 kB / 0.7913 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.5743, allocations: 4.562 kB / 0.7913 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.5743, allocations: 2.25 kB / 0.7913 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5743, allocations: 3.625 kB / 0.7913 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.5744, allocations: 0 / 0.7913 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003728/0.5747, allocations: 267.8 kB / 0.7916 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.163e-05/0.5748, allocations: 91.42 kB / 0.7917 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.5748, allocations: 12.75 kB / 0.7917 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.5749, allocations: 3.984 kB / 0.7917 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.446e-05/0.575, allocations: 7.5 kB / 0.7917 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.575, allocations: 5.141 kB / 0.7917 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.856e-05/0.5751, allocations: 108.5 kB / 0.7918 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5751, allocations: 1.781 kB / 0.7918 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003721/0.5755, allocations: 47.17 kB / 0.7918 GB, free: 44.36 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.0004299/0.5759, allocations: 160.5 kB / 0.792 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003436/0.5763, allocations: 111.4 kB / 0.7921 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5763, allocations: 0 / 0.7921 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.5764, allocations: 62.41 kB / 0.7922 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.5768, allocations: 12.77 kB / 0.7922 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005003/0.5773, allocations: 261 kB / 0.7924 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.5774, allocations: 0.6973 MB / 0.7931 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.117e-05/0.5775, allocations: 15.55 kB / 0.7931 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.5775, allocations: 0 / 0.7931 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of Templates: time 0.003468/0.581, allocations: 2.048 MB / 0.7951 GB, free: 43.27 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 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)