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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.739/1.739, allocations: 293 MB / 309 MB, free: 4.855 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.0009019/0.000902, allocations: 176.1 kB / 378.7 MB, free: 1.031 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.386/1.386, allocations: 205.4 MB / 0.6383 GB, free: 8.246 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.0007096/0.0007095, allocations: 95.8 kB / 0.7527 GB, free: 62.87 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004285/0.0004287, allocations: 12 kB / 0.8768 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.247, allocations: 116.4 MB / 0.9904 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6555/0.9026, allocations: 141.1 MB / 1.128 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/0.9029, allocations: 82.27 kB / 1.128 GB, free: 33.07 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.008031/0.9109, allocations: 2.996 MB / 1.131 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.864e-06/0.911, allocations: 4 kB / 1.131 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.911, allocations: 0 / 1.131 GB, free: 30.91 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.0004478/0.9114, allocations: 428 kB / 1.132 GB, free: 30.45 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.9115, allocations: 8.031 kB / 1.132 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.9115, allocations: 12.81 kB / 1.132 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.991e-05/0.9116, allocations: 175.7 kB / 1.132 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.9117, allocations: 5.125 kB / 1.132 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.9117, allocations: 384 / 1.132 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.9119, allocations: 75.48 kB / 1.132 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.9119, allocations: 192 / 1.132 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.9119, allocations: 4.594 kB / 1.132 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.9119, allocations: 4 kB / 1.132 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.912, allocations: 42.75 kB / 1.132 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005347/0.9126, allocations: 319.7 kB / 1.132 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.9127, allocations: 57.03 kB / 1.132 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.091e-05/0.9128, allocations: 32.86 kB / 1.132 GB, free: 29.69 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.9128, allocations: 3.141 kB / 1.132 GB, free: 29.69 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/0.913, allocations: 94.02 kB / 1.132 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.532e-06/0.913, allocations: 0 / 1.132 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003642/0.9133, allocations: 140.3 kB / 1.133 GB, free: 29.47 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.9134, allocations: 58.97 kB / 1.133 GB, free: 29.4 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.626e-05/0.9135, allocations: 121.4 kB / 1.133 GB, free: 29.28 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.9135, allocations: 25.7 kB / 1.133 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/0.9135, allocations: 91.75 kB / 1.133 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.9136, allocations: 19.8 kB / 1.133 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-06/0.9136, allocations: 0 / 1.133 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.755e-05/0.9136, allocations: 322.4 kB / 1.133 GB, free: 28.82 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.563e-05/0.9137, allocations: 35.38 kB / 1.133 GB, free: 28.79 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.953e-05/0.9138, allocations: 54.2 kB / 1.133 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.914, allocations: 81.81 kB / 1.133 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.914, allocations: 0 / 1.133 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002043/0.9142, allocations: 116.4 kB / 1.133 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.9142, allocations: 7.562 kB / 1.133 GB, free: 28.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.9142, allocations: 4.562 kB / 1.133 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.9142, allocations: 0 / 1.133 GB, free: 28.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.831e-05/0.9143, allocations: 17.12 kB / 1.133 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.9143, allocations: 8.141 kB / 1.133 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.663e-05/0.9144, allocations: 4 kB / 1.133 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.9144, allocations: 4 kB / 1.133 GB, free: 28.5 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 6.53e-05/0.9145, allocations: 122.3 kB / 1.134 GB, free: 28.38 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.424e-05/0.9145, allocations: 11.38 kB / 1.134 GB, free: 28.37 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.9146, allocations: 4.375 kB / 1.134 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.9146, allocations: 0 / 1.134 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.9146, allocations: 4 kB / 1.134 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.9146, allocations: 0 / 1.134 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.9149, allocations: 391.5 kB / 1.134 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.9149, allocations: 0 / 1.134 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.557e-05/0.915, allocations: 7.516 kB / 1.134 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.915, allocations: 0 / 1.134 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.915, allocations: 4 kB / 1.134 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.915, allocations: 5.266 kB / 1.134 GB, free: 27.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.915, allocations: 0 / 1.134 GB, free: 27.94 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.9153, allocations: 222.4 kB / 1.134 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.607e-05/0.9153, allocations: 84.95 kB / 1.134 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.9153, allocations: 7.469 kB / 1.134 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.822e-05/0.9154, allocations: 4.5 kB / 1.134 GB, free: 27.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.9155, allocations: 12.16 kB / 1.134 GB, free: 27.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.9155, allocations: 4 kB / 1.134 GB, free: 27.6 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.121e-05/0.9155, allocations: 95.25 kB / 1.134 GB, free: 27.51 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9155, allocations: 3.938 kB / 1.134 GB, free: 27.51 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002902/0.9158, allocations: 47.38 kB / 1.134 GB, free: 27.46 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.0003657/0.9162, allocations: 173.3 kB / 1.135 GB, free: 27.32 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.9164, allocations: 83.12 kB / 1.135 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.9164, allocations: 0 / 1.135 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.229e-05/0.9165, allocations: 36.17 kB / 1.135 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.9168, allocations: 11.56 kB / 1.135 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.9171, allocations: 199.1 kB / 1.135 GB, free: 27.01 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.9173, allocations: 0.6937 MB / 1.136 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.76e-05/0.9173, allocations: 6.281 kB / 1.136 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/0.9174, allocations: 11.44 kB / 1.136 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/0.9174, allocations: 0 / 1.136 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of Templates: time 0.00393/0.9213, allocations: 1.499 MB / 1.137 GB, free: 25.46 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)