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.001155/0.001155, allocations: 112.9 kB / 16.37 MB, free: 6.012 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.00112/0.00112, allocations: 191.4 kB / 17.31 MB, free: 5.617 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.333/1.333, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.839/1.839, allocations: 292.3 MB / 0.5496 GB, free: 17.62 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.001463/0.001463, allocations: 63.91 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2872, allocations: 114.6 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.003587/0.2908, allocations: 1.514 MB / 0.7863 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.2924, allocations: 0.7955 MB / 0.787 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.271e-05/0.2924, allocations: 4 kB / 0.7871 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.977e-05/0.2925, allocations: 3.938 kB / 0.7871 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.981e-05/0.2926, allocations: 11.88 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.0006855/0.2933, allocations: 143.5 kB / 0.7872 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.2934, allocations: 103.7 kB / 0.7873 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.2936, allocations: 11.98 kB / 0.7873 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.2937, allocations: 47.84 kB / 0.7874 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.178e-05/0.2938, allocations: 59.8 kB / 0.7874 GB, free: 468 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.2938, allocations: 8 kB / 0.7874 GB, free: 460 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.294, allocations: 99.91 kB / 0.7875 GB, free: 360 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.708e-05/0.2941, allocations: 27.91 kB / 0.7875 GB, free: 332 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.057e-05/0.2941, allocations: 35.84 kB / 0.7876 GB, free: 296 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.2944, allocations: 175.4 kB / 0.7877 GB, free: 120 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2944, allocations: 0 / 0.7877 GB, free: 120 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2944, allocations: 0 / 0.7877 GB, free: 120 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.2944, allocations: 0 / 0.7877 GB, free: 120 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.5021/0.7965, allocations: 456.6 kB / 0.7882 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.7966, allocations: 9.594 kB / 0.7882 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.907e-05/0.7966, allocations: 7.469 kB / 0.7882 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.8e-05/0.7967, allocations: 173.2 kB / 0.7884 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/0.7968, allocations: 6.547 kB / 0.7884 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.7968, allocations: 8.438 kB / 0.7884 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002459/0.7971, allocations: 93.56 kB / 0.7885 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.7971, allocations: 0 / 0.7885 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.7971, allocations: 6.562 kB / 0.7885 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.7971, allocations: 0 / 0.7885 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.7973, allocations: 51.44 kB / 0.7885 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000731/0.798, allocations: 340.2 kB / 0.7888 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.7982, allocations: 66.17 kB / 0.7889 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.7983, allocations: 44 kB / 0.789 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.7984, allocations: 3 kB / 0.789 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002757/0.7986, allocations: 98.09 kB / 0.7891 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.924e-06/0.7987, allocations: 4.062 kB / 0.7891 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0005732/0.7992, allocations: 184.5 kB / 0.7892 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.7993, allocations: 56.64 kB / 0.7893 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.659e-05/0.7994, allocations: 135 kB / 0.7894 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.7994, allocations: 29.64 kB / 0.7894 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.7995, allocations: 90.67 kB / 0.7895 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.7995, allocations: 21.92 kB / 0.7895 GB, free: 47.81 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/0.7995, allocations: 32.92 kB / 0.7896 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.941e-05/0.7996, allocations: 319.8 kB / 0.7899 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.929e-05/0.7997, allocations: 30.42 kB / 0.7899 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.859e-05/0.7998, allocations: 63.8 kB / 0.79 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.7999, allocations: 98.53 kB / 0.7901 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.8, allocations: 0 / 0.7901 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00024/0.8002, allocations: 136.8 kB / 0.7902 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.8002, allocations: 5.5 kB / 0.7902 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.8002, allocations: 0.5625 kB / 0.7902 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.8003, allocations: 6.062 kB / 0.7902 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.8004, allocations: 15.09 kB / 0.7902 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.922e-06/0.8004, allocations: 0 / 0.7902 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.354e-05/0.8005, allocations: 13.48 kB / 0.7902 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.8005, allocations: 2.844 kB / 0.7902 GB, free: 47.36 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 9.009e-05/0.8006, allocations: 133.1 kB / 0.7904 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/0.8006, allocations: 5.969 kB / 0.7904 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/0.8006, allocations: 7.25 kB / 0.7904 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.8007, allocations: 4.281 kB / 0.7904 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.8007, allocations: 0 / 0.7904 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.8007, allocations: 3.141 kB / 0.7904 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005116/0.8012, allocations: 434.3 kB / 0.7908 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.8012, allocations: 2.625 kB / 0.7908 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.659e-05/0.8013, allocations: 7 kB / 0.7908 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.8013, allocations: 1.875 kB / 0.7908 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.8013, allocations: 3.469 kB / 0.7908 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.8013, allocations: 0 / 0.7908 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.8013, allocations: 1 kB / 0.7908 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.8017, allocations: 253.8 kB / 0.7911 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.807e-05/0.8017, allocations: 88.62 kB / 0.7911 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.8017, allocations: 6.625 kB / 0.7911 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.8018, allocations: 11.08 kB / 0.7912 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.8019, allocations: 4.781 kB / 0.7912 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.8019, allocations: 13.44 kB / 0.7912 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.94e-05/0.802, allocations: 96.77 kB / 0.7913 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.802, allocations: 0 / 0.7913 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000318/0.8023, allocations: 43.09 kB / 0.7913 GB, free: 46.63 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.0003418/0.8026, allocations: 166.6 kB / 0.7915 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003152/0.803, allocations: 90.77 kB / 0.7916 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.803, allocations: 0 / 0.7916 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.8031, allocations: 54.78 kB / 0.7916 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.8034, allocations: 15.08 kB / 0.7916 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004528/0.8039, allocations: 224.5 kB / 0.7918 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.804, allocations: 0.6883 MB / 0.7925 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.341e-05/0.8041, allocations: 17 kB / 0.7925 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of SimCode: time 1.082e-06/0.8041, allocations: 0 / 0.7925 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of Templates: time 0.003603/0.8077, allocations: 1.81 MB / 0.7943 GB, free: 45.58 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)