Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.694/1.694, allocations: 297.8 MB / 313.7 MB, free: 124 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 188.4 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.2 MB / 0.6626 GB, free: 4.359 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000777/0.0007773, allocations: 94.58 kB / 0.7808 GB, free: 43.51 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003745/0.0003745, allocations: 15.94 kB / 0.9088 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6163/0.6167, allocations: 120.3 MB / 1.026 GB, free: 56.17 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1884/0.8051, allocations: 143.2 MB / 1.166 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.8054, allocations: 80.52 kB / 1.166 GB, free: 14.95 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.008866/0.8143, allocations: 3.039 MB / 1.169 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8143, allocations: 0.75 kB / 1.169 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.714e-06/0.8144, allocations: 0 / 1.169 GB, free: 11.96 MB / 0.7448 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.0004667/0.8148, allocations: 422.5 kB / 1.17 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.8149, allocations: 8.031 kB / 1.17 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.8149, allocations: 14.39 kB / 1.17 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.815, allocations: 176.2 kB / 1.17 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.8151, allocations: 4.375 kB / 1.17 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.8151, allocations: 11.03 kB / 1.17 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.8153, allocations: 66.22 kB / 1.17 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.8153, allocations: 192 / 1.17 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.8153, allocations: 6.141 kB / 1.17 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.8153, allocations: 0 / 1.17 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.8154, allocations: 51.91 kB / 1.17 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005418/0.816, allocations: 312.8 kB / 1.17 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.8161, allocations: 58.48 kB / 1.17 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.547e-05/0.8162, allocations: 32.97 kB / 1.17 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.8162, allocations: 0 / 1.17 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.8164, allocations: 99.36 kB / 1.17 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.8164, allocations: 0 / 1.17 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003453/0.8167, allocations: 133.6 kB / 1.171 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.8168, allocations: 59.41 kB / 1.171 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.152e-05/0.8169, allocations: 127.6 kB / 1.171 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.8169, allocations: 33.7 kB / 1.171 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.064e-05/0.817, allocations: 84.14 kB / 1.171 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.817, allocations: 15.81 kB / 1.171 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-06/0.817, allocations: 0 / 1.171 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.8171, allocations: 326.8 kB / 1.171 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.698e-05/0.8172, allocations: 27.98 kB / 1.171 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.712e-05/0.8173, allocations: 58.48 kB / 1.171 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.8175, allocations: 74.55 kB / 1.171 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.8175, allocations: 0 / 1.171 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000222/0.8177, allocations: 121.5 kB / 1.171 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.8178, allocations: 8 kB / 1.171 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.8178, allocations: 0 / 1.171 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.8178, allocations: 0 / 1.171 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.854e-05/0.8179, allocations: 15.92 kB / 1.171 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.8179, allocations: 4 kB / 1.171 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.148e-05/0.818, allocations: 12.05 kB / 1.171 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.818, allocations: 4 kB / 1.171 GB, free: 9.402 MB / 0.7448 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 8.004e-05/0.8181, allocations: 130.2 kB / 1.172 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.8181, allocations: 7.906 kB / 1.172 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.325e-05/0.8181, allocations: 4.375 kB / 1.172 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.8181, allocations: 4 kB / 1.172 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.8181, allocations: 3.984 kB / 1.172 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.8181, allocations: 0 / 1.172 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004128/0.8186, allocations: 392.9 kB / 1.172 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.8186, allocations: 4 kB / 1.172 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.52e-05/0.8186, allocations: 4 kB / 1.172 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.8186, allocations: 0 / 1.172 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.8186, allocations: 4 kB / 1.172 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.8186, allocations: 3.938 kB / 1.172 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.8187, allocations: 4 kB / 1.172 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.8189, allocations: 223.3 kB / 1.172 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.819, allocations: 81.02 kB / 1.172 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.811e-05/0.819, allocations: 4 kB / 1.172 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.173e-05/0.8191, allocations: 11.98 kB / 1.172 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.8191, allocations: 3.938 kB / 1.172 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.8191, allocations: 11.98 kB / 1.172 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.423e-05/0.8192, allocations: 88.16 kB / 1.172 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8192, allocations: 0 / 1.172 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002898/0.8195, allocations: 47.98 kB / 1.172 GB, free: 8.293 MB / 0.7448 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.0003724/0.8199, allocations: 177.7 kB / 1.173 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.8201, allocations: 83.88 kB / 1.173 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.8201, allocations: 0 / 1.173 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.771e-05/0.8202, allocations: 35.98 kB / 1.173 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.8205, allocations: 13.8 kB / 1.173 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003597/0.8208, allocations: 205.6 kB / 1.173 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.8211, allocations: 0.6809 MB / 1.174 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.17e-05/0.8211, allocations: 11.98 kB / 1.174 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.8212, allocations: 11.44 kB / 1.174 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of SimCode: time 2.2e-07/0.8212, allocations: 0 / 1.174 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of Templates: time 0.003759/0.8249, allocations: 1.505 MB / 1.175 GB, free: 5.562 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)