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.001267/0.001267, allocations: 103.1 kB / 16.35 MB, free: 6.348 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.001329/0.001329, allocations: 194.7 kB / 17.29 MB, free: 5.93 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.33/1.33, 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.804/1.804, allocations: 292.3 MB / 0.5496 GB, free: 17.65 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.002395/0.002395, allocations: 71.89 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2201, allocations: 114.5 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002883/0.223, allocations: 1.495 MB / 0.7862 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.2244, allocations: 0.7682 MB / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.197e-05/0.2245, allocations: 3.938 kB / 0.787 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.015e-05/0.2245, allocations: 7.922 kB / 0.787 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.194e-05/0.2246, allocations: 15.86 kB / 0.787 GB, free: 0.8438 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.0005912/0.2252, allocations: 123.6 kB / 0.7871 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.746e-05/0.2253, allocations: 79.77 kB / 0.7872 GB, free: 0.6445 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.204e-05/0.2254, allocations: 11.98 kB / 0.7872 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.041e-05/0.2255, allocations: 35.91 kB / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.326e-05/0.2255, allocations: 35.89 kB / 0.7873 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.2256, allocations: 8 kB / 0.7873 GB, free: 0.5547 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/0.2258, allocations: 99.78 kB / 0.7874 GB, free: 468 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.895e-05/0.2258, allocations: 19.97 kB / 0.7874 GB, free: 448 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.94e-05/0.2259, allocations: 31.86 kB / 0.7874 GB, free: 416 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.2261, allocations: 143.5 kB / 0.7876 GB, free: 272 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2261, allocations: 4 kB / 0.7876 GB, free: 268 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2261, allocations: 0 / 0.7876 GB, free: 268 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.2261, allocations: 0 / 0.7876 GB, free: 268 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.3741/0.6003, allocations: 415 kB / 0.788 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.6003, allocations: 10.66 kB / 0.788 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.493e-05/0.6004, allocations: 8.594 kB / 0.788 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.433e-05/0.6005, allocations: 172.1 kB / 0.7881 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.6005, allocations: 4.125 kB / 0.7882 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.6005, allocations: 6.828 kB / 0.7882 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.6007, allocations: 70.33 kB / 0.7882 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.6008, allocations: 2.656 kB / 0.7882 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.6008, allocations: 5.938 kB / 0.7882 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.6008, allocations: 3.312 kB / 0.7882 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.6009, allocations: 36.02 kB / 0.7883 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005823/0.6015, allocations: 313.3 kB / 0.7886 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.6016, allocations: 53.62 kB / 0.7886 GB, free: 48.4 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.418e-05/0.6017, allocations: 33.77 kB / 0.7887 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.6017, allocations: 3 kB / 0.7887 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.6019, allocations: 75.77 kB / 0.7887 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.602, allocations: 2.969 kB / 0.7887 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003466/0.6023, allocations: 135.5 kB / 0.7889 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.6023, allocations: 55.58 kB / 0.7889 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.951e-05/0.6024, allocations: 128.5 kB / 0.789 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.6024, allocations: 29.83 kB / 0.7891 GB, free: 48.12 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.569e-05/0.6025, allocations: 91 kB / 0.7892 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.6025, allocations: 16.5 kB / 0.7892 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.6026, allocations: 29.16 kB / 0.7892 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.407e-05/0.6026, allocations: 325.9 kB / 0.7895 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.479e-05/0.6027, allocations: 30.14 kB / 0.7895 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.894e-05/0.6028, allocations: 53.14 kB / 0.7896 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.6029, allocations: 79.03 kB / 0.7897 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6029, allocations: 0 / 0.7897 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002038/0.6032, allocations: 117.5 kB / 0.7898 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.6032, allocations: 7.469 kB / 0.7898 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.6032, allocations: 2.625 kB / 0.7898 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.6032, allocations: 0 / 0.7898 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.6033, allocations: 18.7 kB / 0.7898 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.6033, allocations: 7.641 kB / 0.7898 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.036e-05/0.6034, allocations: 8.844 kB / 0.7898 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.6034, allocations: 5.531 kB / 0.7898 GB, free: 47.6 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.739e-05/0.6035, allocations: 124.2 kB / 0.7899 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.6035, allocations: 6.562 kB / 0.7899 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.6036, allocations: 10.88 kB / 0.79 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.6036, allocations: 0 / 0.79 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6036, allocations: 5.531 kB / 0.79 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.6036, allocations: 1.125 kB / 0.79 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003396/0.6039, allocations: 385.9 kB / 0.7903 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.6039, allocations: 0 / 0.7903 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.857e-05/0.604, allocations: 5.906 kB / 0.7903 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.604, allocations: 3.859 kB / 0.7903 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.604, allocations: 0.625 kB / 0.7903 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.604, allocations: 1.688 kB / 0.7903 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.604, allocations: 0 / 0.7903 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.6043, allocations: 217.2 kB / 0.7905 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.6043, allocations: 85.58 kB / 0.7906 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.6043, allocations: 3.75 kB / 0.7906 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.989e-05/0.6044, allocations: 6.438 kB / 0.7906 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.6045, allocations: 13.34 kB / 0.7907 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.6045, allocations: 3.25 kB / 0.7907 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.775e-05/0.6045, allocations: 92.72 kB / 0.7907 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6045, allocations: 0 / 0.7907 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003244/0.6049, allocations: 37.94 kB / 0.7908 GB, free: 46.87 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.0003221/0.6052, allocations: 163.2 kB / 0.7909 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002265/0.6054, allocations: 72.89 kB / 0.791 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6054, allocations: 0.5312 kB / 0.791 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.189e-05/0.6055, allocations: 40.45 kB / 0.791 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.6058, allocations: 12.56 kB / 0.7911 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003571/0.6062, allocations: 182 kB / 0.7912 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/0.6063, allocations: 0.6901 MB / 0.7919 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.613e-05/0.6063, allocations: 8.562 kB / 0.7919 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.6064, allocations: 11.7 kB / 0.7919 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of SimCode: time 2.6e-07/0.6064, allocations: 0 / 0.7919 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.003669/0.61, allocations: 1.454 MB / 0.7933 GB, free: 45.9 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)