Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 99.72 kB / 16.29 MB, free: 6.008 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.001684/0.001684, allocations: 182.2 kB / 17.22 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.491/1.491, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.792/1.792, allocations: 292.3 MB / 0.5495 GB, free: 17.43 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.001424/0.001425, allocations: 64.33 kB / 0.6722 GB, free: 6.504 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.2999, allocations: 114.6 MB / 0.7841 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.004229/0.3042, allocations: 1.59 MB / 0.7856 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002072/0.3063, allocations: 0.815 MB / 0.7864 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.025e-05/0.3063, allocations: 0 / 0.7864 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.408e-05/0.3064, allocations: 7.875 kB / 0.7864 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.3065, allocations: 23.78 kB / 0.7864 GB, free: 1.375 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.0008675/0.3074, allocations: 151.5 kB / 0.7866 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.3077, allocations: 139.6 kB / 0.7867 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.3078, allocations: 19.94 kB / 0.7867 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.308, allocations: 59.81 kB / 0.7868 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.3081, allocations: 67.73 kB / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.3082, allocations: 12 kB / 0.7869 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.3084, allocations: 103.8 kB / 0.787 GB, free: 0.832 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.025e-05/0.3085, allocations: 35.89 kB / 0.787 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.726e-05/0.3086, allocations: 51.78 kB / 0.7871 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003621/0.309, allocations: 203.7 kB / 0.7873 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.309, allocations: 0 / 0.7873 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.804e-06/0.309, allocations: 0 / 0.7873 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.034e-06/0.309, allocations: 0 / 0.7873 GB, free: 0.5469 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001004/0.31, allocations: 474.4 kB / 0.7877 GB, free: 24 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.3101, allocations: 12.03 kB / 0.7877 GB, free: 12 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.228e-05/0.3102, allocations: 12.84 kB / 0.7877 GB, free: 0 / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3757/0.6858, allocations: 180.2 kB / 0.7879 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.944e-05/0.6859, allocations: 9.062 kB / 0.7879 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.195e-05/0.686, allocations: 5.656 kB / 0.7879 GB, free: 48.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003003/0.6863, allocations: 101.4 kB / 0.788 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.6863, allocations: 0 / 0.788 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.6863, allocations: 4.781 kB / 0.788 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.6863, allocations: 2.812 kB / 0.788 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.6865, allocations: 62.98 kB / 0.7881 GB, free: 48.74 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007859/0.6873, allocations: 368.5 kB / 0.7884 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.6875, allocations: 75.89 kB / 0.7885 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.6876, allocations: 55 kB / 0.7886 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.6876, allocations: 0 / 0.7886 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/0.6879, allocations: 106.9 kB / 0.7887 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.6879, allocations: 0.6562 kB / 0.7887 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0004746/0.6884, allocations: 214 kB / 0.7889 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.6884, allocations: 57.08 kB / 0.7889 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.348e-05/0.6885, allocations: 141.7 kB / 0.7891 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.6885, allocations: 33.55 kB / 0.7891 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.6886, allocations: 102.1 kB / 0.7892 GB, free: 48.08 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.6886, allocations: 20.83 kB / 0.7892 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.559e-05/0.6887, allocations: 37.3 kB / 0.7892 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.445e-05/0.6887, allocations: 329.4 kB / 0.7896 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.6888, allocations: 37.22 kB / 0.7896 GB, free: 47.74 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/0.689, allocations: 74.69 kB / 0.7897 GB, free: 47.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.6891, allocations: 114.9 kB / 0.7898 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6892, allocations: 0 / 0.7898 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002739/0.6894, allocations: 159.5 kB / 0.7899 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.6895, allocations: 5.906 kB / 0.7899 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.6895, allocations: 5.531 kB / 0.7899 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.6895, allocations: 2.719 kB / 0.7899 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.6896, allocations: 15.52 kB / 0.79 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.6896, allocations: 2.531 kB / 0.79 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.872e-05/0.6897, allocations: 17.02 kB / 0.79 GB, free: 47.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.6898, allocations: 3 kB / 0.79 GB, free: 47.62 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,win.occ,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 (14): * Single equations (assignments): 14 * 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.883e-05/0.6898, allocations: 134.8 kB / 0.7901 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.6899, allocations: 6.719 kB / 0.7901 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.6899, allocations: 14.33 kB / 0.7901 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.6899, allocations: 3.781 kB / 0.7901 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.6899, allocations: 0.5 kB / 0.7901 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.6899, allocations: 0.5 kB / 0.7901 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004754/0.6904, allocations: 465.7 kB / 0.7906 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.6904, allocations: 0 / 0.7906 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.918e-05/0.6905, allocations: 11.2 kB / 0.7906 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.6905, allocations: 1.375 kB / 0.7906 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.6905, allocations: 5.141 kB / 0.7906 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6905, allocations: 2.312 kB / 0.7906 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.6905, allocations: 5.812 kB / 0.7906 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.6909, allocations: 266.3 kB / 0.7908 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/0.691, allocations: 89.62 kB / 0.7909 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.691, allocations: 0 / 0.7909 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.6911, allocations: 11.31 kB / 0.7909 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/0.6912, allocations: 10.08 kB / 0.791 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.6912, allocations: 4.922 kB / 0.791 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.835e-05/0.6913, allocations: 105.8 kB / 0.7911 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.443e-06/0.6913, allocations: 0 / 0.7911 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003554/0.6916, allocations: 62.53 kB / 0.7911 GB, free: 46.88 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,win.occ,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 (9): * Single equations (assignments): 5 * 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.0004322/0.6921, allocations: 156.3 kB / 0.7913 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003252/0.6924, allocations: 120.1 kB / 0.7914 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6924, allocations: 0.75 kB / 0.7914 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.6926, allocations: 55.69 kB / 0.7914 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.6929, allocations: 20.5 kB / 0.7915 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004938/0.6934, allocations: 221.1 kB / 0.7917 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.6936, allocations: 0.693 MB / 0.7923 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.679e-05/0.6936, allocations: 11.11 kB / 0.7924 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.555e-05/0.6937, allocations: 12.69 kB / 0.7924 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of SimCode: time 3.6e-07/0.6937, allocations: 3.531 kB / 0.7924 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.005462/0.6992, allocations: 1.961 MB / 0.7943 GB, free: 45.88 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)