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.001667/0.001675, allocations: 104.2 kB / 16.36 MB, free: 6.305 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.001771/0.001771, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.353/1.353, 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.875/1.875, allocations: 292.3 MB / 0.5496 GB, free: 17.51 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.001497/0.001497, allocations: 67.91 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2775, allocations: 114.5 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002992/0.2806, allocations: 1.515 MB / 0.7863 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001486/0.2821, allocations: 0.7994 MB / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.973e-05/0.2822, allocations: 0 / 0.787 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.307e-05/0.2822, allocations: 7.922 kB / 0.787 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.156e-05/0.2823, allocations: 15.81 kB / 0.7871 GB, free: 0.832 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.0006534/0.283, allocations: 135.5 kB / 0.7872 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.2831, allocations: 99.75 kB / 0.7873 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.2832, allocations: 15.98 kB / 0.7873 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.2833, allocations: 51.83 kB / 0.7874 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.763e-05/0.2834, allocations: 47.83 kB / 0.7874 GB, free: 500 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.967e-05/0.2835, allocations: 12 kB / 0.7874 GB, free: 488 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.2837, allocations: 99.84 kB / 0.7875 GB, free: 388 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.446e-05/0.2837, allocations: 23.95 kB / 0.7875 GB, free: 364 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.827e-05/0.2838, allocations: 43.78 kB / 0.7876 GB, free: 320 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002731/0.2841, allocations: 163.6 kB / 0.7877 GB, free: 156 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2841, allocations: 0 / 0.7877 GB, free: 156 kB / 0.6544 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2841, allocations: 4 kB / 0.7877 GB, free: 152 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.2841, allocations: 0 / 0.7877 GB, free: 152 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.4267/0.7108, allocations: 465.2 kB / 0.7882 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.7108, allocations: 9.312 kB / 0.7882 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.113e-05/0.7109, allocations: 8.656 kB / 0.7882 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.711, allocations: 174.1 kB / 0.7884 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.7111, allocations: 4.438 kB / 0.7884 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.7111, allocations: 9.25 kB / 0.7884 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.7113, allocations: 84.2 kB / 0.7884 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.7114, allocations: 0 / 0.7884 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.7114, allocations: 4.531 kB / 0.7885 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.7114, allocations: 3.875 kB / 0.7885 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.7116, allocations: 47.42 kB / 0.7885 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006836/0.7123, allocations: 339.9 kB / 0.7888 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.7124, allocations: 61.98 kB / 0.7889 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.7125, allocations: 46.59 kB / 0.7889 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.7126, allocations: 4.312 kB / 0.7889 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.7128, allocations: 91.64 kB / 0.789 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.7128, allocations: 2.469 kB / 0.789 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0005141/0.7133, allocations: 182.8 kB / 0.7892 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.7134, allocations: 56.88 kB / 0.7893 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.563e-05/0.7135, allocations: 130.7 kB / 0.7894 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.7135, allocations: 27.52 kB / 0.7894 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.034e-05/0.7135, allocations: 96.39 kB / 0.7895 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.7135, allocations: 18.73 kB / 0.7895 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.372e-05/0.7136, allocations: 32.69 kB / 0.7895 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.493e-05/0.7137, allocations: 321.4 kB / 0.7898 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.768e-05/0.7137, allocations: 29.31 kB / 0.7899 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.493e-05/0.7138, allocations: 62.97 kB / 0.7899 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.714, allocations: 100.3 kB / 0.79 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.714, allocations: 3.344 kB / 0.79 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002255/0.7142, allocations: 132.3 kB / 0.7902 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.7142, allocations: 5.406 kB / 0.7902 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.7143, allocations: 3.719 kB / 0.7902 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.7143, allocations: 6.438 kB / 0.7902 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.7144, allocations: 15.11 kB / 0.7902 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.7144, allocations: 2.562 kB / 0.7902 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.298e-05/0.7145, allocations: 11.02 kB / 0.7902 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.7145, allocations: 6.188 kB / 0.7902 GB, free: 47.39 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.317e-05/0.7146, allocations: 129.1 kB / 0.7903 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.7146, allocations: 5.031 kB / 0.7903 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.962e-05/0.7147, allocations: 13.45 kB / 0.7904 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.7147, allocations: 0 / 0.7904 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7147, allocations: 1.656 kB / 0.7904 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.7147, allocations: 2.297 kB / 0.7904 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004729/0.7152, allocations: 428.1 kB / 0.7908 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.7152, allocations: 1.75 kB / 0.7908 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.7152, allocations: 10.81 kB / 0.7908 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.7152, allocations: 1 kB / 0.7908 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.7152, allocations: 6.109 kB / 0.7908 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.7153, allocations: 0 / 0.7908 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7153, allocations: 0.5 kB / 0.7908 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.7156, allocations: 244.9 kB / 0.791 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.7156, allocations: 87.58 kB / 0.7911 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.479e-05/0.7157, allocations: 7.719 kB / 0.7911 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.7158, allocations: 13.19 kB / 0.7911 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.7158, allocations: 5.859 kB / 0.7911 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.7158, allocations: 13.27 kB / 0.7911 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.861e-05/0.7159, allocations: 98.73 kB / 0.7912 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7.32e-07/0.7159, allocations: 0 / 0.7912 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003243/0.7162, allocations: 39.38 kB / 0.7913 GB, free: 46.66 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.0003841/0.7166, allocations: 166.1 kB / 0.7914 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002998/0.7169, allocations: 93.16 kB / 0.7915 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7169, allocations: 0.8438 kB / 0.7915 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.7171, allocations: 51.55 kB / 0.7916 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.7173, allocations: 12.39 kB / 0.7916 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004329/0.7178, allocations: 220.4 kB / 0.7918 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.7179, allocations: 0.6918 MB / 0.7925 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.372e-05/0.718, allocations: 15.81 kB / 0.7925 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of SimCode: time 5.21e-07/0.718, allocations: 2.438 kB / 0.7925 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of Templates: time 0.003469/0.7214, allocations: 1.796 MB / 0.7942 GB, free: 45.61 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 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1)