Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 115.3 kB / 15.34 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.001631/0.001631, allocations: 195.2 kB / 16.25 MB, free: 6.633 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.571/1.571, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.761/1.761, 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.001359/0.001359, allocations: 64.81 kB / 0.671 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2778, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.003585/0.2815, allocations: 1.578 MB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002043/0.2835, allocations: 0.7956 MB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.2837, allocations: 4 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.405e-05/0.2838, allocations: 0 / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.284, allocations: 7.875 kB / 0.7852 GB, free: 11.47 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.001196/0.2852, allocations: 115.8 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.2855, allocations: 111.7 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.2857, allocations: 15.98 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.2859, allocations: 47.89 kB / 0.7855 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.286, allocations: 47.83 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.286, allocations: 8 kB / 0.7855 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00037/0.2864, allocations: 103.8 kB / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.174e-05/0.2865, allocations: 27.91 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.969e-05/0.2866, allocations: 39.78 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003683/0.287, allocations: 167.8 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.287, allocations: 4 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.796e-06/0.287, allocations: 0 / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.287, allocations: 0 / 0.7858 GB, free: 10.8 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001079/0.2881, allocations: 470.5 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.078e-05/0.2882, allocations: 8.031 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.5e-05/0.2882, allocations: 8.844 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001782/0.2884, allocations: 171.4 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.147e-05/0.2885, allocations: 4.375 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.2885, allocations: 12.36 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.2888, allocations: 89.89 kB / 0.7866 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2888, allocations: 0 / 0.7866 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.2889, allocations: 0 / 0.7866 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.2889, allocations: 0 / 0.7866 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.2891, allocations: 51.95 kB / 0.7866 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007919/0.2899, allocations: 348.6 kB / 0.7869 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.29, allocations: 54.56 kB / 0.787 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.2902, allocations: 44.83 kB / 0.787 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.2902, allocations: 4 kB / 0.787 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003384/0.2905, allocations: 91.36 kB / 0.7871 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 3.506e-06/0.2906, allocations: 96 / 0.7871 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0005563/0.2911, allocations: 185.4 kB / 0.7873 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.2912, allocations: 51.41 kB / 0.7874 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.2913, allocations: 137.7 kB / 0.7875 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.2913, allocations: 25.7 kB / 0.7875 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.2914, allocations: 96.28 kB / 0.7876 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.2914, allocations: 15.81 kB / 0.7876 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.246e-05/0.2915, allocations: 29.7 kB / 0.7876 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.2916, allocations: 326.8 kB / 0.788 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.043e-05/0.2917, allocations: 27.98 kB / 0.788 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.2918, allocations: 64.27 kB / 0.788 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.292, allocations: 96.14 kB / 0.7881 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.292, allocations: 0 / 0.7881 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002404/0.2922, allocations: 129.5 kB / 0.7883 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.2922, allocations: 4 kB / 0.7883 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.2923, allocations: 7.922 kB / 0.7883 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.2923, allocations: 4 kB / 0.7883 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.2924, allocations: 11.94 kB / 0.7883 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.2924, allocations: 7.984 kB / 0.7883 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.485e-05/0.2925, allocations: 15.88 kB / 0.7883 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.2925, allocations: 8.062 kB / 0.7883 GB, free: 7.984 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,occ.y,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 (13): * Single equations (assignments): 13 * 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.0001074/0.2926, allocations: 126.5 kB / 0.7884 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.2927, allocations: 3.906 kB / 0.7884 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.786e-05/0.2927, allocations: 20.3 kB / 0.7885 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2927, allocations: 0 / 0.7885 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.2927, allocations: 0 / 0.7885 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.2927, allocations: 0 / 0.7885 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005715/0.2933, allocations: 430.3 kB / 0.7889 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2933, allocations: 0 / 0.7889 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.812e-05/0.2934, allocations: 7.984 kB / 0.7889 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.2934, allocations: 4.031 kB / 0.7889 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.2934, allocations: 4 kB / 0.7889 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2934, allocations: 0 / 0.7889 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.2934, allocations: 7.875 kB / 0.7889 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003448/0.2938, allocations: 243.8 kB / 0.7891 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.2938, allocations: 88.95 kB / 0.7892 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.2939, allocations: 3.984 kB / 0.7892 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.294, allocations: 4 kB / 0.7892 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.294, allocations: 11.92 kB / 0.7892 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.294, allocations: 8 kB / 0.7892 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.062e-05/0.2941, allocations: 94.14 kB / 0.7893 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2941, allocations: 0 / 0.7893 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000322/0.2944, allocations: 47.98 kB / 0.7894 GB, free: 6.805 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,occ.y,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 (8): * Single equations (assignments): 4 * 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.0003594/0.2948, allocations: 163 kB / 0.7895 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002768/0.2951, allocations: 91.95 kB / 0.7896 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2951, allocations: 4.062 kB / 0.7896 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.2952, allocations: 47.97 kB / 0.7897 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.2955, allocations: 15.92 kB / 0.7897 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004333/0.2959, allocations: 220 kB / 0.7899 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.2962, allocations: 0.6953 MB / 0.7906 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.035e-05/0.2962, allocations: 4 kB / 0.7906 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.833e-05/0.2963, allocations: 11.44 kB / 0.7906 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2963, allocations: 0 / 0.7906 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of Templates: time 0.004564/0.3008, allocations: 1.694 MB / 0.7922 GB, free: 3.836 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)