Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001374/0.001374, 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.001245/0.001244, allocations: 194 kB / 16.25 MB, free: 6.617 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.481/1.481, allocations: 205.1 MB / 222.1 MB, free: 4.754 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.7/1.7, 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.001342/0.001342, allocations: 68.28 kB / 0.671 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2726, allocations: 114.6 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003639/0.2763, allocations: 1.647 MB / 0.7845 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.2779, allocations: 0.8151 MB / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.095e-05/0.278, allocations: 0 / 0.7853 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.198e-05/0.278, allocations: 3.938 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.516e-05/0.2782, allocations: 15.86 kB / 0.7853 GB, free: 11.42 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.0008058/0.279, allocations: 127.7 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.2792, allocations: 135.6 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.2793, allocations: 23.98 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.2795, allocations: 59.77 kB / 0.7856 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.2796, allocations: 71.72 kB / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.272e-05/0.2796, allocations: 12 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000245/0.2799, allocations: 99.91 kB / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.28, allocations: 35.89 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.555e-05/0.28, allocations: 51.78 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003603/0.2804, allocations: 199.7 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2804, allocations: 0 / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.745e-06/0.2804, allocations: 0 / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.2804, allocations: 0 / 0.7861 GB, free: 10.62 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009473/0.2814, allocations: 486.3 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.2814, allocations: 12.03 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.2815, allocations: 8.844 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.2817, allocations: 184.6 kB / 0.7867 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.2817, allocations: 8.375 kB / 0.7867 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.2818, allocations: 8.125 kB / 0.7867 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002745/0.282, allocations: 101.6 kB / 0.7868 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2821, allocations: 0 / 0.7868 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.2821, allocations: 3.984 kB / 0.7868 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.2821, allocations: 7.938 kB / 0.7868 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.2823, allocations: 63.89 kB / 0.7869 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009144/0.2832, allocations: 380.6 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.2834, allocations: 62.55 kB / 0.7873 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.2835, allocations: 60.83 kB / 0.7874 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.2836, allocations: 3.938 kB / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002964/0.2839, allocations: 95.36 kB / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.2839, allocations: 0 / 0.7875 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0005844/0.2845, allocations: 217.4 kB / 0.7877 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.2845, allocations: 59.39 kB / 0.7877 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.2846, allocations: 141.4 kB / 0.7879 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.2847, allocations: 33.64 kB / 0.7879 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.33e-05/0.2847, allocations: 104.3 kB / 0.788 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.2848, allocations: 19.89 kB / 0.788 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.072e-05/0.2848, allocations: 37.7 kB / 0.7881 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.285, allocations: 322.8 kB / 0.7884 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.2851, allocations: 39.97 kB / 0.7884 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.2852, allocations: 80.2 kB / 0.7885 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.2855, allocations: 112.2 kB / 0.7886 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2855, allocations: 0 / 0.7886 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000308/0.2858, allocations: 149.4 kB / 0.7887 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.2858, allocations: 8 kB / 0.7887 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.2858, allocations: 0 / 0.7887 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.2858, allocations: 8.094 kB / 0.7887 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.286, allocations: 23.91 kB / 0.7888 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.286, allocations: 3.938 kB / 0.7888 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.2861, allocations: 12 kB / 0.7888 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.2861, allocations: 7.984 kB / 0.7888 GB, free: 7.547 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001/0.2862, allocations: 126.8 kB / 0.7889 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.2863, allocations: 11.91 kB / 0.7889 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.2863, allocations: 12.72 kB / 0.7889 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2863, allocations: 4 kB / 0.7889 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.2864, allocations: 7.875 kB / 0.7889 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2864, allocations: 3.984 kB / 0.789 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005881/0.287, allocations: 450.3 kB / 0.7894 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.287, allocations: 3.984 kB / 0.7894 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.896e-05/0.287, allocations: 8 kB / 0.7894 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.287, allocations: 7.938 kB / 0.7894 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.2871, allocations: 4.047 kB / 0.7894 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.2871, allocations: 11.98 kB / 0.7894 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2871, allocations: 0 / 0.7894 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003629/0.2874, allocations: 259.3 kB / 0.7897 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.2875, allocations: 88.95 kB / 0.7897 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.2875, allocations: 3.984 kB / 0.7898 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.2877, allocations: 16 kB / 0.7898 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/0.2877, allocations: 3.984 kB / 0.7898 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.2877, allocations: 7.984 kB / 0.7898 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.118e-05/0.2878, allocations: 107.2 kB / 0.7899 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2878, allocations: 0 / 0.7899 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003153/0.2881, allocations: 47.98 kB / 0.7899 GB, free: 6.281 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: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003689/0.2885, allocations: 173.9 kB / 0.7901 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003153/0.2888, allocations: 111.9 kB / 0.7902 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2888, allocations: 0 / 0.7902 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.289, allocations: 55.91 kB / 0.7903 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.2893, allocations: 20.11 kB / 0.7903 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005001/0.2898, allocations: 248.5 kB / 0.7905 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.2901, allocations: 0.7002 MB / 0.7912 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.611e-05/0.2901, allocations: 4 kB / 0.7912 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.804e-05/0.2902, allocations: 11.44 kB / 0.7912 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of SimCode: time 1.774e-06/0.2902, allocations: 0 / 0.7912 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of Templates: time 0.005496/0.2957, allocations: 1.92 MB / 0.7931 GB, free: 3.02 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)