Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 197.6 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.1 MB / 222.1 MB, free: 4.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.706/1.706, allocations: 292.2 MB / 0.5485 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00131/0.001311, allocations: 60.45 kB / 0.671 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2511, allocations: 114.6 MB / 0.7829 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.003043/0.2542, allocations: 1.566 MB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.2557, allocations: 0.7566 MB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.11e-05/0.2559, allocations: 0 / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.995e-05/0.2559, allocations: 0 / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.002e-05/0.2561, allocations: 15.86 kB / 0.7851 GB, free: 11.49 MB / 0.6075 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 NFTyping.typeClassSections: time 0.0009079/0.257, allocations: 111.8 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.2572, allocations: 67.84 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.2573, allocations: 15.97 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.2574, allocations: 35.86 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.182e-05/0.2575, allocations: 39.88 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.2575, allocations: 4 kB / 0.7854 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002538/0.2578, allocations: 99.84 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.094e-05/0.2578, allocations: 23.92 kB / 0.7855 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.87e-05/0.2579, allocations: 31.86 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.2582, allocations: 135.9 kB / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2582, allocations: 0 / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2582, allocations: 0 / 0.7857 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.2582, allocations: 0 / 0.7857 GB, free: 10.94 MB / 0.6075 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.000735/0.259, allocations: 413 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.259, allocations: 12.03 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.2591, allocations: 4.844 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.2592, allocations: 192.1 kB / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.2593, allocations: 8.375 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.2593, allocations: 4.375 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.2595, allocations: 69.97 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.2595, allocations: 0 / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.2595, allocations: 0 / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.2595, allocations: 0 / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.2596, allocations: 39.97 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005868/0.2602, allocations: 316.7 kB / 0.7867 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.2604, allocations: 54.55 kB / 0.7867 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.652e-05/0.2604, allocations: 32.97 kB / 0.7868 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.2605, allocations: 4 kB / 0.7868 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/0.2607, allocations: 79.34 kB / 0.7869 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 2.896e-06/0.2607, allocations: 4 kB / 0.7869 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0003725/0.2611, allocations: 133.6 kB / 0.787 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.2611, allocations: 55.41 kB / 0.787 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.573e-05/0.2612, allocations: 121.7 kB / 0.7872 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.2612, allocations: 33.7 kB / 0.7872 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.2613, allocations: 88.14 kB / 0.7873 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.2613, allocations: 19.73 kB / 0.7873 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-05/0.2614, allocations: 25.72 kB / 0.7873 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.2615, allocations: 326.8 kB / 0.7876 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.934e-05/0.2616, allocations: 23.98 kB / 0.7877 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.89e-05/0.2617, allocations: 54.55 kB / 0.7877 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.2618, allocations: 78.42 kB / 0.7878 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2619, allocations: 0 / 0.7878 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002263/0.2621, allocations: 109.5 kB / 0.7879 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2621, allocations: 4 kB / 0.7879 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.2621, allocations: 4.062 kB / 0.7879 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.2621, allocations: 0 / 0.7879 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.666e-05/0.2622, allocations: 23.92 kB / 0.7879 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.2623, allocations: 0 / 0.7879 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.544e-05/0.2623, allocations: 7.984 kB / 0.7879 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.2623, allocations: 4 kB / 0.7879 GB, free: 8.391 MB / 0.6075 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 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.739e-05/0.2624, allocations: 117.8 kB / 0.788 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.2625, allocations: 7.906 kB / 0.788 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.677e-05/0.2625, allocations: 12.38 kB / 0.7881 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.2625, allocations: 3.984 kB / 0.7881 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.2625, allocations: 0 / 0.7881 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.932e-05/0.2625, allocations: 7.984 kB / 0.7881 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004576/0.263, allocations: 382.8 kB / 0.7884 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.263, allocations: 3.984 kB / 0.7884 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.917e-05/0.2631, allocations: 4 kB / 0.7884 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.2631, allocations: 0 / 0.7884 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.2631, allocations: 4 kB / 0.7884 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.634e-06/0.2631, allocations: 4 kB / 0.7884 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.2631, allocations: 4.016 kB / 0.7885 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.2634, allocations: 219.3 kB / 0.7887 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.562e-05/0.2634, allocations: 81.02 kB / 0.7887 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.2635, allocations: 4 kB / 0.7887 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.712e-05/0.2636, allocations: 11.92 kB / 0.7888 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.2636, allocations: 7.938 kB / 0.7888 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.2636, allocations: 4 kB / 0.7888 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.038e-05/0.2637, allocations: 91.92 kB / 0.7889 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2637, allocations: 0 / 0.7889 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003043/0.264, allocations: 43.92 kB / 0.7889 GB, free: 7.297 MB / 0.6075 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,win.occ,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003435/0.2643, allocations: 161.2 kB / 0.789 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000231/0.2646, allocations: 75.89 kB / 0.7891 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2646, allocations: 0 / 0.7891 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.065e-05/0.2647, allocations: 35.97 kB / 0.7892 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.2649, allocations: 8 kB / 0.7892 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003819/0.2653, allocations: 204.4 kB / 0.7894 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.2656, allocations: 0.6846 MB / 0.79 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.096e-05/0.2656, allocations: 7.984 kB / 0.79 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.2657, allocations: 11.44 kB / 0.79 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of SimCode: time 6.11e-07/0.2657, allocations: 4 kB / 0.79 GB, free: 6.074 MB / 0.6075 GB Notification: Performance of Templates: time 0.004078/0.2698, allocations: 1.415 MB / 0.7914 GB, free: 4.668 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)