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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.787/1.787, allocations: 292.6 MB / 307.5 MB, free: 5.234 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.001743/0.001743, allocations: 195.4 kB / 377.1 MB, free: 1.551 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.584/1.584, allocations: 205.4 MB / 0.6367 GB, free: 8.652 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.0008927/0.0008926, allocations: 90.28 kB / 0.751 GB, free: 63.02 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 8 kB / 0.8748 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2877, allocations: 116.3 MB / 0.9884 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7438/1.032, allocations: 141 MB / 1.126 GB, free: 34.17 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/1.032, allocations: 82.02 kB / 1.126 GB, free: 34.1 MB / 0.7292 GB [/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 FrontEnd - DAE generated: time 0.008082/1.04, allocations: 2.983 MB / 1.129 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.453e-06/1.04, allocations: 0 / 1.129 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.492e-06/1.04, allocations: 0 / 1.129 GB, free: 31.95 MB / 0.7292 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.000451/1.04, allocations: 435.7 kB / 1.129 GB, free: 31.49 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/1.04, allocations: 12.03 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/1.041, allocations: 6.062 kB / 1.129 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.077e-05/1.041, allocations: 170.3 kB / 1.13 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/1.041, allocations: 4.625 kB / 1.13 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/1.041, allocations: 7.438 kB / 1.13 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/1.041, allocations: 71.17 kB / 1.13 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/1.041, allocations: 0 / 1.13 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/1.041, allocations: 7.422 kB / 1.13 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.041, allocations: 4 kB / 1.13 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/1.041, allocations: 42.83 kB / 1.13 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005869/1.042, allocations: 322.9 kB / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/1.042, allocations: 49.97 kB / 1.13 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/1.042, allocations: 0 / 1.13 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/1.042, allocations: 86.23 kB / 1.13 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/1.042, allocations: 0 / 1.13 GB, free: 30.69 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003641/1.042, allocations: 143.3 kB / 1.13 GB, free: 30.56 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/1.042, allocations: 55.41 kB / 1.13 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.566e-05/1.042, allocations: 112.5 kB / 1.131 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/1.042, allocations: 33.7 kB / 1.131 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.355e-05/1.043, allocations: 96.3 kB / 1.131 GB, free: 30.24 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/1.043, allocations: 15.38 kB / 1.131 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-06/1.043, allocations: 4 kB / 1.131 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.028e-05/1.043, allocations: 322.2 kB / 1.131 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-05/1.043, allocations: 23.28 kB / 1.131 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.312e-05/1.043, allocations: 62.19 kB / 1.131 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.728e-05/1.043, allocations: 31.42 kB / 1.131 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.043, allocations: 3.938 kB / 1.131 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002189/1.043, allocations: 117.2 kB / 1.131 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/1.043, allocations: 8 kB / 1.131 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/1.043, allocations: 0 / 1.131 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/1.043, allocations: 0 / 1.131 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.13e-05/1.043, allocations: 16.06 kB / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/1.043, allocations: 0 / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.653e-05/1.043, allocations: 8.656 kB / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/1.043, allocations: 8.906 kB / 1.131 GB, free: 29.65 MB / 0.7292 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 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.009e-05/1.043, allocations: 125.8 kB / 1.131 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/1.043, allocations: 4 kB / 1.131 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/1.044, allocations: 8.375 kB / 1.131 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/1.044, allocations: 4 kB / 1.131 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.044, allocations: 0 / 1.131 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/1.044, allocations: 3.516 kB / 1.131 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003711/1.044, allocations: 391.4 kB / 1.132 GB, free: 29.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/1.044, allocations: 0 / 1.132 GB, free: 29.1 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.748e-05/1.044, allocations: 7.938 kB / 1.132 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/1.044, allocations: 4 kB / 1.132 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/1.044, allocations: 4.453 kB / 1.132 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.044, allocations: 0 / 1.132 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.044, allocations: 0.6562 kB / 1.132 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/1.044, allocations: 221.9 kB / 1.132 GB, free: 28.87 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.305e-05/1.044, allocations: 84.95 kB / 1.132 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/1.044, allocations: 4 kB / 1.132 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.41e-05/1.044, allocations: 7.469 kB / 1.132 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/1.044, allocations: 0.9844 kB / 1.132 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/1.044, allocations: 12.03 kB / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.894e-05/1.045, allocations: 92.02 kB / 1.132 GB, free: 28.67 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/1.045, allocations: 0 / 1.132 GB, free: 28.67 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002778/1.045, allocations: 47.89 kB / 1.132 GB, free: 28.62 MB / 0.7292 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,occ.y,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 (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.0003406/1.045, allocations: 181.7 kB / 1.132 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000213/1.045, allocations: 79.09 kB / 1.132 GB, free: 28.4 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.045, allocations: 1.031 kB / 1.132 GB, free: 28.4 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.464e-05/1.046, allocations: 40.19 kB / 1.132 GB, free: 28.37 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/1.046, allocations: 7.516 kB / 1.132 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/1.046, allocations: 199.3 kB / 1.133 GB, free: 28.16 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/1.046, allocations: 0.6916 MB / 1.133 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.227e-05/1.046, allocations: 5.438 kB / 1.133 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/1.046, allocations: 15 kB / 1.133 GB, free: 27.44 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/1.046, allocations: 0 / 1.133 GB, free: 27.44 MB / 0.7292 GB Notification: Performance of Templates: time 0.003819/1.05, allocations: 1.522 MB / 1.135 GB, free: 26.6 MB / 0.7292 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)