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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001436, 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.001758/0.001759, allocations: 193.1 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.461/1.461, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.648/1.648, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.001349/0.001349, allocations: 69.44 kB / 0.671 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2866, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.0035/0.2902, allocations: 1.57 MB / 0.7844 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.2916, allocations: 0.7605 MB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.02e-05/0.2918, allocations: 4 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.47e-05/0.2918, allocations: 3.938 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.281e-05/0.292, allocations: 3.938 kB / 0.7851 GB, free: 11.54 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.0008437/0.2928, allocations: 111.8 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.293, allocations: 67.83 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.2931, allocations: 16 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.2933, allocations: 43.77 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.529e-05/0.2934, allocations: 31.91 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.2934, allocations: 8 kB / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002533/0.2937, allocations: 91.91 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.233e-05/0.2937, allocations: 23.91 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.961e-05/0.2938, allocations: 31.86 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003302/0.2941, allocations: 143.8 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.2942, allocations: 0 / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2942, allocations: 0 / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.2942, allocations: 4 kB / 0.7857 GB, free: 10.97 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.0008726/0.2951, allocations: 417 kB / 0.7861 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.2951, allocations: 11.97 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.95e-05/0.2952, allocations: 8.844 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/0.2954, allocations: 176.2 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.2955, allocations: 4.375 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.2955, allocations: 8.359 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.2957, allocations: 77.95 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.2958, allocations: 3.938 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.2958, allocations: 0 / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.2958, allocations: 4 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.296, allocations: 39.97 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007382/0.2967, allocations: 308.8 kB / 0.7867 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.2969, allocations: 46.56 kB / 0.7867 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.321e-05/0.297, allocations: 36.91 kB / 0.7868 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.297, allocations: 0 / 0.7868 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002488/0.2972, allocations: 79.28 kB / 0.7869 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.2973, allocations: 4 kB / 0.7869 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004023/0.2977, allocations: 137.7 kB / 0.787 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.2977, allocations: 55.39 kB / 0.787 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.2978, allocations: 121.8 kB / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.2979, allocations: 29.64 kB / 0.7872 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.772e-05/0.2979, allocations: 96.12 kB / 0.7873 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.298, allocations: 15.75 kB / 0.7873 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.298, allocations: 33.7 kB / 0.7873 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2981, allocations: 318.8 kB / 0.7876 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.918e-05/0.2982, allocations: 31.97 kB / 0.7877 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.641e-05/0.2983, allocations: 42.56 kB / 0.7877 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.2985, allocations: 82.73 kB / 0.7878 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2985, allocations: 0 / 0.7878 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002401/0.2987, allocations: 117.5 kB / 0.7879 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2988, allocations: 4 kB / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.2988, allocations: 4 kB / 0.7879 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2988, allocations: 0 / 0.7879 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.958e-05/0.2989, allocations: 19.98 kB / 0.7879 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.2989, allocations: 0 / 0.7879 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.357e-05/0.299, allocations: 8.062 kB / 0.7879 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.299, allocations: 4 kB / 0.7879 GB, free: 8.426 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 0.0001017/0.2991, allocations: 118.4 kB / 0.788 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.2991, allocations: 15.83 kB / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.818e-05/0.2992, allocations: 8.375 kB / 0.7881 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2992, allocations: 7.984 kB / 0.7881 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2992, allocations: 0 / 0.7881 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2992, allocations: 0 / 0.7881 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004687/0.2997, allocations: 386.4 kB / 0.7884 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2997, allocations: 0 / 0.7884 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.06e-05/0.2997, allocations: 4 kB / 0.7884 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.2997, allocations: 0 / 0.7884 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.2998, allocations: 3.984 kB / 0.7884 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.2998, allocations: 7.938 kB / 0.7885 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.2998, allocations: 3.938 kB / 0.7885 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.3001, allocations: 211.4 kB / 0.7887 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.3001, allocations: 89 kB / 0.7887 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.3002, allocations: 0 / 0.7887 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.847e-05/0.3003, allocations: 4 kB / 0.7887 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.637e-05/0.3003, allocations: 7.922 kB / 0.7888 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.3003, allocations: 4 kB / 0.7888 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.62e-05/0.3004, allocations: 91.27 kB / 0.7888 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3004, allocations: 4 kB / 0.7888 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003179/0.3007, allocations: 36 kB / 0.7889 GB, free: 7.344 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.000413/0.3011, allocations: 159.1 kB / 0.789 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002573/0.3014, allocations: 75.89 kB / 0.7891 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3014, allocations: 8.062 kB / 0.7891 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.747e-05/0.3015, allocations: 35.92 kB / 0.7891 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.3018, allocations: 12.53 kB / 0.7892 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.3022, allocations: 196.3 kB / 0.7893 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.3025, allocations: 0.6924 MB / 0.79 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.934e-05/0.3026, allocations: 4 kB / 0.79 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.3026, allocations: 15.42 kB / 0.79 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.3026, allocations: 0 / 0.79 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of Templates: time 0.004372/0.307, allocations: 1.413 MB / 0.7914 GB, free: 4.707 MB / 0.6075 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)