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.001333/0.001333, allocations: 111.6 kB / 16.36 MB, free: 5.945 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.00146/0.00146, allocations: 192.5 kB / 17.3 MB, free: 5.562 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.401/1.401, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.741/1.741, allocations: 292.3 MB / 0.5496 GB, free: 17.58 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.001448/0.001448, allocations: 67.89 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2475, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002914/0.2504, allocations: 1.512 MB / 0.7863 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.2519, allocations: 0.7955 MB / 0.787 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.538e-05/0.2519, allocations: 7.938 kB / 0.787 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.435e-05/0.252, allocations: 3.938 kB / 0.787 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.536e-05/0.252, allocations: 11.86 kB / 0.7871 GB, free: 0.8203 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.0006166/0.2527, allocations: 135.6 kB / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.2528, allocations: 103.8 kB / 0.7873 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.2529, allocations: 15.98 kB / 0.7873 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.356e-05/0.253, allocations: 43.84 kB / 0.7873 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.666e-05/0.2531, allocations: 55.8 kB / 0.7874 GB, free: 484 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.2531, allocations: 8 kB / 0.7874 GB, free: 476 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.2533, allocations: 103.8 kB / 0.7875 GB, free: 372 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.027e-05/0.2534, allocations: 19.97 kB / 0.7875 GB, free: 352 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.548e-05/0.2534, allocations: 43.78 kB / 0.7876 GB, free: 308 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.2537, allocations: 167.6 kB / 0.7877 GB, free: 140 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2537, allocations: 4 kB / 0.7877 GB, free: 136 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2537, allocations: 0 / 0.7877 GB, free: 136 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.2537, allocations: 0 / 0.7877 GB, free: 136 kB / 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.4161/0.6698, allocations: 461.8 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.6699, allocations: 9.125 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.507e-05/0.6699, allocations: 9.406 kB / 0.7882 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.67, allocations: 175.7 kB / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.658e-05/0.6701, allocations: 5.312 kB / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.6701, allocations: 5.719 kB / 0.7884 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.6703, allocations: 90.64 kB / 0.7884 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.6704, allocations: 2.688 kB / 0.7885 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.6704, allocations: 6.562 kB / 0.7885 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.6704, allocations: 0 / 0.7885 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.6706, allocations: 51.91 kB / 0.7885 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007234/0.6713, allocations: 341.7 kB / 0.7888 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.6715, allocations: 70.94 kB / 0.7889 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.6716, allocations: 45.72 kB / 0.7889 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.6717, allocations: 0 / 0.7889 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002554/0.6719, allocations: 92.8 kB / 0.789 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.6719, allocations: 0 / 0.789 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0005455/0.6725, allocations: 188.2 kB / 0.7892 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.6725, allocations: 59.2 kB / 0.7893 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.652e-05/0.6726, allocations: 129.1 kB / 0.7894 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.6726, allocations: 28.39 kB / 0.7894 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.904e-05/0.6727, allocations: 95.38 kB / 0.7895 GB, free: 47.65 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.6727, allocations: 21.06 kB / 0.7895 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.6727, allocations: 31.78 kB / 0.7896 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.014e-05/0.6728, allocations: 319.8 kB / 0.7899 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.007e-05/0.6729, allocations: 30.2 kB / 0.7899 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.434e-05/0.673, allocations: 68.69 kB / 0.79 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001518/0.6731, allocations: 96.83 kB / 0.7901 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6731, allocations: 0 / 0.7901 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002253/0.6734, allocations: 131.9 kB / 0.7902 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.6734, allocations: 6.625 kB / 0.7902 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6734, allocations: 2.844 kB / 0.7902 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.6734, allocations: 6.125 kB / 0.7902 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.6736, allocations: 16.27 kB / 0.7902 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.6736, allocations: 2.656 kB / 0.7902 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.59e-05/0.6737, allocations: 12.97 kB / 0.7902 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.6737, allocations: 8.031 kB / 0.7902 GB, free: 47.19 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 7.147e-05/0.6737, allocations: 126.7 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.901e-05/0.6738, allocations: 5.938 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.08e-05/0.6738, allocations: 15.66 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.6738, allocations: 0 / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6738, allocations: 0.5625 kB / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.6738, allocations: 0 / 0.7904 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004964/0.6743, allocations: 434 kB / 0.7908 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6743, allocations: 2.109 kB / 0.7908 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.737e-05/0.6744, allocations: 3.625 kB / 0.7908 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.6744, allocations: 0 / 0.7908 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.6744, allocations: 7.234 kB / 0.7908 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.6744, allocations: 0.5625 kB / 0.7908 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6744, allocations: 2.062 kB / 0.7908 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.6748, allocations: 253.5 kB / 0.791 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.467e-05/0.6748, allocations: 88.73 kB / 0.7911 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.6749, allocations: 2.812 kB / 0.7911 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.675, allocations: 12.47 kB / 0.7911 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.675, allocations: 10.61 kB / 0.7912 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.6751, allocations: 9.188 kB / 0.7912 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.421e-05/0.6751, allocations: 95.7 kB / 0.7913 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6751, allocations: 0 / 0.7913 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003285/0.6754, allocations: 43.59 kB / 0.7913 GB, free: 46.46 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.0003459/0.6758, allocations: 165.2 kB / 0.7915 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002927/0.6761, allocations: 96.75 kB / 0.7915 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.6761, allocations: 0 / 0.7915 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.6763, allocations: 45.86 kB / 0.7916 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.6765, allocations: 17.98 kB / 0.7916 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004287/0.677, allocations: 196 kB / 0.7918 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.6771, allocations: 0.6927 MB / 0.7925 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.801e-05/0.6772, allocations: 11.14 kB / 0.7925 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.6772, allocations: 10.81 kB / 0.7925 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of SimCode: time 2.71e-07/0.6772, allocations: 0 / 0.7925 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of Templates: time 0.004327/0.6815, allocations: 1.751 MB / 0.7942 GB, free: 45.47 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1)