Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.694/1.694, allocations: 292.6 MB / 307.5 MB, free: 5.242 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.001517/0.001517, allocations: 181 kB / 377.1 MB, free: 1.535 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.663/1.663, allocations: 205.4 MB / 0.6367 GB, free: 8.641 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.0009409/0.0009407, allocations: 92.11 kB / 0.751 GB, free: 63.39 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0002995/0.0002996, allocations: 8 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2348, allocations: 116.3 MB / 0.9884 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6583/0.8932, allocations: 141 MB / 1.126 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.8935, allocations: 86.97 kB / 1.126 GB, free: 34.09 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.008003/0.9015, allocations: 2.981 MB / 1.129 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.883e-06/0.9015, allocations: 0 / 1.129 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.9015, allocations: 0 / 1.129 GB, free: 31.93 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.0004404/0.902, allocations: 432.4 kB / 1.129 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.902, allocations: 8.031 kB / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.9021, allocations: 9.625 kB / 1.129 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.679e-05/0.9022, allocations: 170.9 kB / 1.13 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.9022, allocations: 5.125 kB / 1.13 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.9022, allocations: 11.44 kB / 1.13 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.9024, allocations: 71.67 kB / 1.13 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.9024, allocations: 0 / 1.13 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.9025, allocations: 0 / 1.13 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.9025, allocations: 0 / 1.13 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.9026, allocations: 48.05 kB / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005266/0.9031, allocations: 321.3 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.9032, allocations: 51.55 kB / 1.13 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.9033, allocations: 4.125 kB / 1.13 GB, free: 30.75 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/0.9034, allocations: 83.88 kB / 1.13 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.9034, allocations: 0 / 1.13 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003535/0.9038, allocations: 150.6 kB / 1.13 GB, free: 30.54 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.9038, allocations: 55.41 kB / 1.13 GB, free: 30.47 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.962e-05/0.9039, allocations: 110.2 kB / 1.131 GB, free: 30.36 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.9039, allocations: 29.7 kB / 1.131 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.83e-05/0.904, allocations: 91.66 kB / 1.131 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.752e-05/0.904, allocations: 19.88 kB / 1.131 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-06/0.904, allocations: 0 / 1.131 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.9e-05/0.9041, allocations: 326.2 kB / 1.131 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.007e-05/0.9041, allocations: 32.22 kB / 1.131 GB, free: 29.86 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.54e-05/0.9042, allocations: 54.72 kB / 1.131 GB, free: 29.81 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.819e-05/0.9043, allocations: 31.61 kB / 1.131 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.9043, allocations: 3.938 kB / 1.131 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001947/0.9045, allocations: 117.2 kB / 1.131 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.9045, allocations: 4 kB / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.9045, allocations: 4.688 kB / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.9046, allocations: 0 / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.806e-05/0.9047, allocations: 12.36 kB / 1.131 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.9047, allocations: 4 kB / 1.131 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.251e-05/0.9047, allocations: 11.97 kB / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.9048, allocations: 11.61 kB / 1.131 GB, free: 29.63 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.679e-05/0.9048, allocations: 121.7 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.328e-05/0.9049, allocations: 4.625 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.606e-05/0.9049, allocations: 4.375 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.9049, allocations: 0.5625 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.9049, allocations: 0 / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.9049, allocations: 7.609 kB / 1.131 GB, free: 29.49 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003462/0.9053, allocations: 390.8 kB / 1.132 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.9053, allocations: 4.625 kB / 1.132 GB, free: 29.08 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.9053, allocations: 4 kB / 1.132 GB, free: 29.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.9053, allocations: 0.9375 kB / 1.132 GB, free: 29.08 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.9053, allocations: 4 kB / 1.132 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.9054, allocations: 4.391 kB / 1.132 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.9054, allocations: 4.547 kB / 1.132 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.9056, allocations: 214.1 kB / 1.132 GB, free: 28.86 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.243e-05/0.9056, allocations: 84.95 kB / 1.132 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.9056, allocations: 0 / 1.132 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.371e-05/0.9057, allocations: 8 kB / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.9058, allocations: 7.375 kB / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.9058, allocations: 12.2 kB / 1.132 GB, free: 28.74 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.055e-05/0.9058, allocations: 88.98 kB / 1.132 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9058, allocations: 0 / 1.132 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00028/0.9061, allocations: 51.39 kB / 1.132 GB, free: 28.61 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.0003391/0.9065, allocations: 175.5 kB / 1.132 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002085/0.9067, allocations: 79.02 kB / 1.132 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9067, allocations: 0 / 1.132 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.81e-05/0.9068, allocations: 43.06 kB / 1.132 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.907, allocations: 10.23 kB / 1.132 GB, free: 28.34 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/0.9073, allocations: 199 kB / 1.133 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.9074, allocations: 0.695 MB / 1.133 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.647e-05/0.9075, allocations: 6.297 kB / 1.133 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.9075, allocations: 16.17 kB / 1.133 GB, free: 27.42 MB / 0.7292 GB Notification: Performance of SimCode: time 3.11e-07/0.9075, allocations: 0 / 1.133 GB, free: 27.42 MB / 0.7292 GB Notification: Performance of Templates: time 0.003656/0.9112, allocations: 1.517 MB / 1.135 GB, free: 26.57 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)