Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 103.4 kB / 16.36 MB, free: 6.301 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.001532/0.001532, allocations: 190.8 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.477/1.477, 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 2.014/2.014, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001454/0.001454, allocations: 78.86 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2486, allocations: 114.5 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.003038/0.2517, allocations: 1.496 MB / 0.7862 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.2531, allocations: 0.7721 MB / 0.787 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.39e-05/0.2531, allocations: 3.938 kB / 0.787 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.888e-05/0.2532, allocations: 7.938 kB / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.935e-05/0.2533, allocations: 11.88 kB / 0.787 GB, free: 0.8672 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.000603/0.2539, allocations: 127.5 kB / 0.7871 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.254, allocations: 71.83 kB / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.2541, allocations: 11.98 kB / 0.7872 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.887e-05/0.2542, allocations: 39.84 kB / 0.7873 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.755e-05/0.2543, allocations: 39.89 kB / 0.7873 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.2543, allocations: 4 kB / 0.7873 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.2545, allocations: 99.84 kB / 0.7874 GB, free: 492 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.789e-05/0.2545, allocations: 19.92 kB / 0.7874 GB, free: 472 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.463e-05/0.2546, allocations: 31.84 kB / 0.7874 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.2548, allocations: 135.6 kB / 0.7876 GB, free: 304 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2548, allocations: 3.938 kB / 0.7876 GB, free: 300 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2548, allocations: 0 / 0.7876 GB, free: 300 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.2548, allocations: 0 / 0.7876 GB, free: 300 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.4165/0.6714, allocations: 421.2 kB / 0.788 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.6715, allocations: 8.781 kB / 0.788 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.036e-05/0.6715, allocations: 8.938 kB / 0.788 GB, free: 48.96 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.6716, allocations: 172.9 kB / 0.7882 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.6717, allocations: 13.05 kB / 0.7882 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.6717, allocations: 4.656 kB / 0.7882 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.6719, allocations: 70.52 kB / 0.7882 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.6719, allocations: 0 / 0.7882 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.672, allocations: 5.109 kB / 0.7882 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.672, allocations: 1.219 kB / 0.7882 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.6721, allocations: 37.25 kB / 0.7883 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005714/0.6727, allocations: 311.4 kB / 0.7886 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.6728, allocations: 57.61 kB / 0.7886 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.423e-05/0.6729, allocations: 32.73 kB / 0.7887 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.6729, allocations: 0 / 0.7887 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.6731, allocations: 78.06 kB / 0.7887 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.6731, allocations: 2.938 kB / 0.7887 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003654/0.6735, allocations: 136.9 kB / 0.7889 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.6735, allocations: 56.12 kB / 0.7889 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.347e-05/0.6736, allocations: 130.5 kB / 0.7891 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.6736, allocations: 28.3 kB / 0.7891 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.244e-05/0.6736, allocations: 91.81 kB / 0.7892 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.6737, allocations: 11.75 kB / 0.7892 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.6737, allocations: 28.73 kB / 0.7892 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.69e-05/0.6738, allocations: 324.1 kB / 0.7895 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.288e-05/0.6738, allocations: 28.75 kB / 0.7895 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.148e-05/0.6739, allocations: 61.34 kB / 0.7896 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.6741, allocations: 83.88 kB / 0.7897 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.6741, allocations: 2.688 kB / 0.7897 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002078/0.6743, allocations: 118 kB / 0.7898 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.6743, allocations: 6.031 kB / 0.7898 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.6743, allocations: 0 / 0.7898 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.6744, allocations: 2.625 kB / 0.7898 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.436e-05/0.6745, allocations: 14.5 kB / 0.7898 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.6745, allocations: 3.656 kB / 0.7898 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.354e-05/0.6745, allocations: 8.547 kB / 0.7898 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.6746, allocations: 5.25 kB / 0.7898 GB, free: 47.63 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 6.831e-05/0.6746, allocations: 121.5 kB / 0.79 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.53e-05/0.6747, allocations: 8.688 kB / 0.79 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.067e-05/0.6747, allocations: 12.91 kB / 0.79 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.6747, allocations: 2.625 kB / 0.79 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.6747, allocations: 0 / 0.79 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.6747, allocations: 0 / 0.79 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003459/0.6751, allocations: 384.5 kB / 0.7903 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.6751, allocations: 0 / 0.7903 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.56e-05/0.6751, allocations: 9.531 kB / 0.7904 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.6751, allocations: 0 / 0.7904 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.6751, allocations: 8.047 kB / 0.7904 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.6752, allocations: 0 / 0.7904 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6752, allocations: 2.656 kB / 0.7904 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.6754, allocations: 212.9 kB / 0.7906 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.99e-05/0.6754, allocations: 81.02 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.6754, allocations: 7.047 kB / 0.7906 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.456e-05/0.6755, allocations: 3.5 kB / 0.7907 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/0.6756, allocations: 19.5 kB / 0.7907 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.6756, allocations: 4.969 kB / 0.7907 GB, free: 46.97 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.346e-05/0.6756, allocations: 91.31 kB / 0.7908 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6756, allocations: 0.5312 kB / 0.7908 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000309/0.676, allocations: 40.22 kB / 0.7908 GB, free: 46.9 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003219/0.6763, allocations: 163.2 kB / 0.791 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000232/0.6765, allocations: 71.34 kB / 0.791 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6765, allocations: 0 / 0.791 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.025e-05/0.6766, allocations: 39.17 kB / 0.7911 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.6769, allocations: 10.39 kB / 0.7911 GB, free: 46.81 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.6773, allocations: 216.5 kB / 0.7913 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.6774, allocations: 0.6878 MB / 0.7919 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.6775, allocations: 11.94 kB / 0.792 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.6775, allocations: 0 / 0.792 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.003252/0.6807, allocations: 1.618 MB / 0.7935 GB, free: 45.86 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)