Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 97.14 kB / 16.27 MB, free: 6.418 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.001094/0.001094, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.33/1.33, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.775/1.775, allocations: 292.3 MB / 0.5495 GB, free: 17.72 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.0015/0.0015, allocations: 67.91 kB / 0.6722 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2811, allocations: 114.6 MB / 0.784 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.003061/0.2842, allocations: 1.504 MB / 0.7855 GB, free: 2.352 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001454/0.2857, allocations: 0.7955 MB / 0.7863 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.221e-05/0.2857, allocations: 7.938 kB / 0.7863 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.2858, allocations: 3.938 kB / 0.7863 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.431e-05/0.2859, allocations: 15.84 kB / 0.7863 GB, free: 1.52 MB / 0.6544 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.0006631/0.2865, allocations: 143.6 kB / 0.7864 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.2867, allocations: 103.8 kB / 0.7865 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.2868, allocations: 11.98 kB / 0.7865 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.2869, allocations: 43.84 kB / 0.7866 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.369e-05/0.287, allocations: 55.75 kB / 0.7866 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.2871, allocations: 8 kB / 0.7867 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002119/0.2873, allocations: 107.8 kB / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.994e-05/0.2873, allocations: 27.95 kB / 0.7868 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.092e-05/0.2874, allocations: 39.78 kB / 0.7868 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.2877, allocations: 163.8 kB / 0.787 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2877, allocations: 0 / 0.787 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.522e-06/0.2877, allocations: 0 / 0.787 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.2877, allocations: 0 / 0.787 GB, free: 0.8281 MB / 0.6544 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.0007426/0.2885, allocations: 462.5 kB / 0.7874 GB, free: 324 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.2885, allocations: 16.03 kB / 0.7874 GB, free: 308 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.896e-05/0.2886, allocations: 8.875 kB / 0.7874 GB, free: 300 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.2887, allocations: 172.2 kB / 0.7876 GB, free: 88 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.2888, allocations: 4.375 kB / 0.7876 GB, free: 84 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.2888, allocations: 12.36 kB / 0.7876 GB, free: 72 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5622/0.851, allocations: 82.33 kB / 0.7877 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.8511, allocations: 0 / 0.7877 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.194e-05/0.8511, allocations: 0 / 0.7877 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.8511, allocations: 0 / 0.7877 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.8514, allocations: 53.28 kB / 0.7877 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009226/0.8524, allocations: 352.1 kB / 0.7881 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.8526, allocations: 58 kB / 0.7881 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.8527, allocations: 42.58 kB / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.8527, allocations: 2.484 kB / 0.7882 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003019/0.853, allocations: 102.4 kB / 0.7883 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.522e-06/0.853, allocations: 0 / 0.7883 GB, free: 48.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0005278/0.8536, allocations: 186.4 kB / 0.7885 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.8536, allocations: 59.38 kB / 0.7885 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.284e-05/0.8537, allocations: 122.8 kB / 0.7886 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.8537, allocations: 27.2 kB / 0.7887 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/0.8538, allocations: 95.56 kB / 0.7887 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.904e-05/0.8538, allocations: 19.56 kB / 0.7888 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/0.8539, allocations: 32.5 kB / 0.7888 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.747e-05/0.8539, allocations: 325.4 kB / 0.7891 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.742e-05/0.854, allocations: 30.78 kB / 0.7891 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.366e-05/0.8541, allocations: 64.2 kB / 0.7892 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.8543, allocations: 95.92 kB / 0.7893 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.8543, allocations: 0 / 0.7893 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000234/0.8545, allocations: 134.9 kB / 0.7894 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.8545, allocations: 5.25 kB / 0.7894 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.8545, allocations: 1.75 kB / 0.7894 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.8546, allocations: 2.625 kB / 0.7894 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.8547, allocations: 20.48 kB / 0.7894 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.8547, allocations: 7.781 kB / 0.7895 GB, free: 47.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.332e-05/0.8548, allocations: 18.09 kB / 0.7895 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.8548, allocations: 5.25 kB / 0.7895 GB, free: 47.77 MB / 0.6544 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 8.581e-05/0.8549, allocations: 120.8 kB / 0.7896 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.8549, allocations: 12.88 kB / 0.7896 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.148e-05/0.855, allocations: 12.41 kB / 0.7896 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.855, allocations: 2.625 kB / 0.7896 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.855, allocations: 0 / 0.7896 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.855, allocations: 5.344 kB / 0.7896 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005113/0.8555, allocations: 433.4 kB / 0.79 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.8555, allocations: 0.625 kB / 0.79 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.606e-05/0.8556, allocations: 2.625 kB / 0.79 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.8556, allocations: 4.438 kB / 0.79 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.8556, allocations: 6.984 kB / 0.7901 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.8556, allocations: 0 / 0.7901 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.8556, allocations: 1.969 kB / 0.7901 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.856, allocations: 250.2 kB / 0.7903 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.562e-05/0.856, allocations: 84.64 kB / 0.7904 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.8561, allocations: 6.562 kB / 0.7904 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.8562, allocations: 6.547 kB / 0.7904 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.8562, allocations: 11.77 kB / 0.7904 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.8562, allocations: 7.172 kB / 0.7904 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.096e-05/0.8563, allocations: 91.73 kB / 0.7905 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8563, allocations: 0.5312 kB / 0.7905 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003285/0.8566, allocations: 40.8 kB / 0.7905 GB, free: 47.05 MB / 0.6544 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.0003626/0.857, allocations: 163.5 kB / 0.7907 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000308/0.8573, allocations: 97.36 kB / 0.7908 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.8573, allocations: 0 / 0.7908 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.8575, allocations: 49.3 kB / 0.7908 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.8578, allocations: 13.16 kB / 0.7908 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/0.8582, allocations: 237.6 kB / 0.7911 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001412/0.8584, allocations: 0.6917 MB / 0.7917 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.8584, allocations: 12.69 kB / 0.7918 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of SimCode: time 3.81e-07/0.8584, allocations: 0 / 0.7918 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of Templates: time 0.003658/0.8621, allocations: 1.813 MB / 0.7935 GB, free: 46 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)