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.001443/0.001443, allocations: 105.5 kB / 16.36 MB, free: 6.426 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.00142/0.00142, allocations: 193.5 kB / 17.3 MB, free: 5.805 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.376/1.376, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.736/1.736, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001695/0.001695, allocations: 71.91 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2406, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002669/0.2433, allocations: 1.508 MB / 0.7863 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.2447, allocations: 0.7955 MB / 0.787 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.2447, allocations: 0 / 0.787 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.2448, allocations: 7.938 kB / 0.787 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.204e-05/0.2449, allocations: 15.84 kB / 0.7871 GB, free: 0.8164 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.0006057/0.2455, allocations: 139.5 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.2456, allocations: 99.8 kB / 0.7873 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 9.861e-05/0.2457, allocations: 15.97 kB / 0.7873 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.496e-05/0.2458, allocations: 51.78 kB / 0.7874 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.485e-05/0.2459, allocations: 55.81 kB / 0.7874 GB, free: 472 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.246, allocations: 8 kB / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001966/0.2462, allocations: 103.8 kB / 0.7875 GB, free: 360 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.243e-05/0.2462, allocations: 19.95 kB / 0.7875 GB, free: 340 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.254e-05/0.2463, allocations: 43.8 kB / 0.7876 GB, free: 296 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.2465, allocations: 163.6 kB / 0.7877 GB, free: 132 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2465, allocations: 0 / 0.7877 GB, free: 132 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.704e-06/0.2465, allocations: 0 / 0.7877 GB, free: 132 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2465, allocations: 0 / 0.7877 GB, free: 132 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.4143/0.6609, allocations: 463.3 kB / 0.7882 GB, free: 49.2 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.6609, allocations: 9.375 kB / 0.7882 GB, free: 49.2 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.48e-05/0.661, allocations: 9.625 kB / 0.7882 GB, free: 49.2 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.026e-05/0.6611, allocations: 172.9 kB / 0.7884 GB, free: 49 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.6611, allocations: 12 kB / 0.7884 GB, free: 49 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.6611, allocations: 8.359 kB / 0.7884 GB, free: 49 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.6614, allocations: 81.84 kB / 0.7884 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.6614, allocations: 0 / 0.7884 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.6614, allocations: 7.312 kB / 0.7885 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.6614, allocations: 0 / 0.7885 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.6616, allocations: 49.17 kB / 0.7885 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007219/0.6624, allocations: 339.4 kB / 0.7888 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.6625, allocations: 66.91 kB / 0.7889 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.6626, allocations: 43.52 kB / 0.7889 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.6627, allocations: 2.75 kB / 0.7889 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000247/0.6629, allocations: 92.52 kB / 0.789 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.954e-06/0.6629, allocations: 0 / 0.789 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0005116/0.6635, allocations: 180.1 kB / 0.7892 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.6635, allocations: 57.2 kB / 0.7892 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.482e-05/0.6636, allocations: 131.7 kB / 0.7894 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.6636, allocations: 27.89 kB / 0.7894 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.931e-05/0.6637, allocations: 90.08 kB / 0.7895 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.6637, allocations: 19.62 kB / 0.7895 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/0.6638, allocations: 34.38 kB / 0.7895 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.756e-05/0.6638, allocations: 321.4 kB / 0.7898 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.5e-05/0.6639, allocations: 30.56 kB / 0.7899 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.109e-05/0.664, allocations: 64.7 kB / 0.7899 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.6642, allocations: 100.1 kB / 0.79 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.6642, allocations: 2.625 kB / 0.79 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002364/0.6644, allocations: 127.6 kB / 0.7902 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.6645, allocations: 7.406 kB / 0.7902 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.6645, allocations: 0 / 0.7902 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.6645, allocations: 6.344 kB / 0.7902 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.6646, allocations: 20.25 kB / 0.7902 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.6646, allocations: 4.281 kB / 0.7902 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.092e-05/0.6647, allocations: 17.16 kB / 0.7902 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.6647, allocations: 3.844 kB / 0.7902 GB, free: 47.84 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.497e-05/0.6648, allocations: 122.3 kB / 0.7903 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.6648, allocations: 8.984 kB / 0.7903 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.6649, allocations: 8.594 kB / 0.7903 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.6649, allocations: 3.969 kB / 0.7903 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.6649, allocations: 0 / 0.7903 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.6649, allocations: 0 / 0.7903 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004938/0.6654, allocations: 431.7 kB / 0.7908 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.6654, allocations: 0 / 0.7908 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.037e-05/0.6655, allocations: 7.281 kB / 0.7908 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.6655, allocations: 5.375 kB / 0.7908 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.6655, allocations: 1 kB / 0.7908 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6655, allocations: 0.625 kB / 0.7908 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6655, allocations: 3.094 kB / 0.7908 GB, free: 47.42 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.6658, allocations: 252.1 kB / 0.791 GB, free: 47.29 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.478e-05/0.6659, allocations: 93.3 kB / 0.7911 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.6659, allocations: 1.094 kB / 0.7911 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.666, allocations: 7.922 kB / 0.7911 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.6661, allocations: 9.641 kB / 0.7911 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.6661, allocations: 11.89 kB / 0.7911 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.905e-05/0.6661, allocations: 94.81 kB / 0.7912 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6661, allocations: 2.438 kB / 0.7912 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003386/0.6665, allocations: 43.19 kB / 0.7913 GB, free: 47.11 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.0003379/0.6668, allocations: 160.2 kB / 0.7914 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002953/0.6671, allocations: 92.5 kB / 0.7915 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.6672, allocations: 0 / 0.7915 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.6673, allocations: 50.58 kB / 0.7916 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.6676, allocations: 15.3 kB / 0.7916 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004143/0.668, allocations: 194.5 kB / 0.7918 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.6681, allocations: 0.6917 MB / 0.7924 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.849e-05/0.6682, allocations: 9.906 kB / 0.7924 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.6682, allocations: 13.06 kB / 0.7925 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of SimCode: time 3.8e-07/0.6682, allocations: 4.375 kB / 0.7925 GB, free: 46.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.004301/0.6725, allocations: 1.732 MB / 0.7942 GB, free: 46.11 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)