Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.738/1.738, allocations: 285.4 MB / 298 MB, free: 6.016 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001465/0.001465, allocations: 188.8 kB / 366.4 MB, free: 2.113 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.89/1.89, allocations: 205.1 MB / 0.6248 GB, free: 7.754 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000846/0.0008464, allocations: 99.45 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.802e-05/3.848e-05, allocations: 4 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6759/0.6759, allocations: 115.3 MB / 0.9709 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1994/0.8753, allocations: 140.2 MB / 1.108 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.8757, allocations: 83.94 kB / 1.108 GB, free: 11.51 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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 FrontEnd - DAE generated: time 0.01186/0.8875, allocations: 3.59 MB / 1.111 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8876, allocations: 2.812 kB / 1.111 GB, free: 7.953 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.38e-05/0.8876, allocations: 4 kB / 1.111 GB, free: 7.949 MB / 0.7136 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.0007036/0.8883, allocations: 461.9 kB / 1.112 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.8884, allocations: 8.75 kB / 1.112 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.013e-05/0.8884, allocations: 11.81 kB / 1.112 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.8886, allocations: 192.2 kB / 1.112 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.155e-05/0.8887, allocations: 4 kB / 1.112 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.8887, allocations: 10.94 kB / 1.112 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.8889, allocations: 84.7 kB / 1.112 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.8889, allocations: 0 / 1.112 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.8889, allocations: 0 / 1.112 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.889, allocations: 4 kB / 1.112 GB, free: 7.09 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.8891, allocations: 36 kB / 1.112 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009936/0.8901, allocations: 380.4 kB / 1.113 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.8902, allocations: 54.58 kB / 1.113 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.729e-05/0.8903, allocations: 43.34 kB / 1.113 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.8903, allocations: 4 kB / 1.113 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001856/0.8905, allocations: 87.31 kB / 1.113 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 2.294e-06/0.8905, allocations: 0 / 1.113 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003463/0.8909, allocations: 154.5 kB / 1.113 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.8909, allocations: 59.34 kB / 1.113 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.8911, allocations: 132.1 kB / 1.113 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.8911, allocations: 37.64 kB / 1.113 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.521e-05/0.8912, allocations: 99.45 kB / 1.113 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.8912, allocations: 23.86 kB / 1.113 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.858e-06/0.8912, allocations: 4 kB / 1.113 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.8914, allocations: 318.8 kB / 1.114 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.695e-05/0.8914, allocations: 32 kB / 1.114 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.203e-05/0.8915, allocations: 64.28 kB / 1.114 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.131e-05/0.8916, allocations: 33.55 kB / 1.114 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.8916, allocations: 4 kB / 1.114 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002316/0.8919, allocations: 133.5 kB / 1.114 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.8919, allocations: 5.406 kB / 1.114 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.8919, allocations: 0 / 1.114 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.8919, allocations: 4 kB / 1.114 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.8921, allocations: 19.98 kB / 1.114 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.8921, allocations: 3.938 kB / 1.114 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.8922, allocations: 23.88 kB / 1.114 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.694e-05/0.8923, allocations: 4 kB / 1.114 GB, free: 5.238 MB / 0.7136 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 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.518e-05/0.8923, allocations: 113 kB / 1.114 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.8924, allocations: 11.81 kB / 1.114 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.796e-05/0.8924, allocations: 12.62 kB / 1.114 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.8924, allocations: 4.797 kB / 1.114 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.8924, allocations: 0 / 1.114 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.8925, allocations: 4 kB / 1.114 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005435/0.893, allocations: 434.5 kB / 1.114 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.893, allocations: 7.938 kB / 1.114 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.267e-05/0.8931, allocations: 19.42 kB / 1.114 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.8931, allocations: 0 / 1.114 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.8931, allocations: 4 kB / 1.114 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.8931, allocations: 1.219 kB / 1.114 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.8931, allocations: 3.953 kB / 1.114 GB, free: 4.578 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003529/0.8935, allocations: 243.3 kB / 1.115 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/0.8936, allocations: 89.02 kB / 1.115 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.8936, allocations: 4 kB / 1.115 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.8937, allocations: 15.17 kB / 1.115 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.046e-05/0.8938, allocations: 7.938 kB / 1.115 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.8938, allocations: 4 kB / 1.115 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.673e-05/0.8939, allocations: 106.6 kB / 1.115 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8939, allocations: 0 / 1.115 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003863/0.8943, allocations: 55.94 kB / 1.115 GB, free: 4.035 MB / 0.7136 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,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005053/0.8948, allocations: 178.4 kB / 1.115 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002197/0.895, allocations: 87.86 kB / 1.115 GB, free: 3.781 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.8951, allocations: 4 kB / 1.115 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.723e-05/0.8952, allocations: 41.97 kB / 1.115 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.8954, allocations: 16.17 kB / 1.115 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/0.8958, allocations: 147.9 kB / 1.115 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.8961, allocations: 0.7004 MB / 1.116 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.092e-05/0.8962, allocations: 8 kB / 1.116 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/0.8962, allocations: 15.42 kB / 1.116 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of SimCode: time 7.41e-07/0.8962, allocations: 0 / 1.116 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of Templates: time 0.005226/0.9015, allocations: 1.979 MB / 1.118 GB, free: 0.875 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)