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.001593/0.001593, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002194/0.002194, allocations: 199.9 kB / 16.64 MB, free: 6.453 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.47/1.47, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.734/1.734, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001468/0.001469, allocations: 67.25 kB / 0.6723 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2911, allocations: 114.5 MB / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.004684/0.2959, allocations: 1.526 MB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.2978, allocations: 0.781 MB / 0.7864 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.2979, allocations: 7.938 kB / 0.7864 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.831e-05/0.2981, allocations: 7.938 kB / 0.7864 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.2982, allocations: 15.84 kB / 0.7864 GB, free: 10.43 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:127:7-213:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.random'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:851:5-931:39:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift64star.initialState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/Random.mo:499:7-563:23:writable] Warning: Pure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState' contains a call to impure function 'Modelica.Math.Random.Utilities.initialStateWithXorshift64star'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:2:1-32:29:writable] Warning: Pure function 'Buildings.Occupants.BaseClasses.binaryVariableGeneration' contains a call to impure function 'Modelica.Math.Random.Generators.Xorshift1024star.initialState'. [/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.0009101/0.2991, allocations: 139.6 kB / 0.7865 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.2993, allocations: 95.7 kB / 0.7866 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.2994, allocations: 19.97 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.2995, allocations: 51.89 kB / 0.7867 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.66e-05/0.2996, allocations: 51.81 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.591e-05/0.2996, allocations: 8 kB / 0.7868 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.2998, allocations: 99.84 kB / 0.7868 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.264e-05/0.2999, allocations: 23.91 kB / 0.7869 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.697e-05/0.2999, allocations: 43.83 kB / 0.7869 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002698/0.3002, allocations: 167.5 kB / 0.7871 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.078e-05/0.3002, allocations: 4 kB / 0.7871 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.055e-06/0.3002, allocations: 0 / 0.7871 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.182e-05/0.3003, allocations: 0 / 0.7871 GB, free: 9.734 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.0007966/0.3011, allocations: 470.5 kB / 0.7875 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.3011, allocations: 8.031 kB / 0.7875 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/0.3012, allocations: 8.844 kB / 0.7875 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.3014, allocations: 172.3 kB / 0.7877 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.3014, allocations: 4.375 kB / 0.7877 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.3014, allocations: 8.375 kB / 0.7877 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.3017, allocations: 85.94 kB / 0.7878 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3017, allocations: 4 kB / 0.7878 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.3018, allocations: 3.938 kB / 0.7878 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.3018, allocations: 4 kB / 0.7878 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.302, allocations: 47.95 kB / 0.7879 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008151/0.3028, allocations: 336.7 kB / 0.7882 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.303, allocations: 66.59 kB / 0.7882 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.3031, allocations: 48.83 kB / 0.7883 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.3031, allocations: 0 / 0.7883 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002848/0.3034, allocations: 87.36 kB / 0.7884 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.3034, allocations: 4 kB / 0.7884 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0005253/0.3039, allocations: 181.7 kB / 0.7885 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.089e-05/0.304, allocations: 67.33 kB / 0.7886 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.3041, allocations: 128.4 kB / 0.7887 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.3041, allocations: 33.69 kB / 0.7888 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/0.3042, allocations: 88.14 kB / 0.7888 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.3042, allocations: 19.81 kB / 0.7889 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-05/0.3043, allocations: 29.7 kB / 0.7889 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3044, allocations: 326.8 kB / 0.7892 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.478e-05/0.3045, allocations: 27.98 kB / 0.7892 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.3046, allocations: 60.27 kB / 0.7893 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.3048, allocations: 96.2 kB / 0.7894 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3048, allocations: 0 / 0.7894 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002516/0.3051, allocations: 129.4 kB / 0.7895 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3051, allocations: 8.094 kB / 0.7895 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3051, allocations: 4 kB / 0.7895 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.3052, allocations: 4 kB / 0.7895 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.3053, allocations: 19.98 kB / 0.7895 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.3053, allocations: 0 / 0.7895 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.284e-05/0.3054, allocations: 19.86 kB / 0.7896 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.3054, allocations: 4 kB / 0.7896 GB, free: 6.918 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.0001024/0.3055, allocations: 123.4 kB / 0.7897 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.3055, allocations: 11.91 kB / 0.7897 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.459e-05/0.3056, allocations: 12.36 kB / 0.7897 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3056, allocations: 0 / 0.7897 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.3056, allocations: 4 kB / 0.7897 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3056, allocations: 0 / 0.7897 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005608/0.3061, allocations: 426.3 kB / 0.7901 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.3062, allocations: 4 kB / 0.7901 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.718e-05/0.3062, allocations: 4 kB / 0.7901 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.3062, allocations: 7.984 kB / 0.7901 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.3062, allocations: 4.047 kB / 0.7901 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3063, allocations: 0 / 0.7901 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.3063, allocations: 7.922 kB / 0.7901 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004048/0.3067, allocations: 239.4 kB / 0.7904 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.523e-05/0.3067, allocations: 88.89 kB / 0.7905 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.3068, allocations: 11.98 kB / 0.7905 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.3069, allocations: 4 kB / 0.7905 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/0.3069, allocations: 11.92 kB / 0.7905 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.307, allocations: 7.938 kB / 0.7905 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.103e-05/0.307, allocations: 95.27 kB / 0.7906 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.307, allocations: 0 / 0.7906 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002974/0.3073, allocations: 39.98 kB / 0.7906 GB, free: 5.738 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.0003651/0.3077, allocations: 169.4 kB / 0.7908 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002923/0.308, allocations: 87.88 kB / 0.7909 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.308, allocations: 4 kB / 0.7909 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.3082, allocations: 48.09 kB / 0.7909 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.3085, allocations: 20.11 kB / 0.7909 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004476/0.3089, allocations: 200.1 kB / 0.7911 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.3093, allocations: 0.6914 MB / 0.7918 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.358e-05/0.3093, allocations: 11.78 kB / 0.7918 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.3093, allocations: 11.44 kB / 0.7918 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.3093, allocations: 0 / 0.7918 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of Templates: time 0.005099/0.3144, allocations: 1.725 MB / 0.7935 GB, free: 2.75 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)