Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 102.7 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.001204/0.001204, 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.411/1.411, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.732/1.732, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001344/0.001344, allocations: 71.89 kB / 0.6729 GB, free: 5.809 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.209, allocations: 114.6 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002932/0.212, allocations: 1.644 MB / 0.7864 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001483/0.2135, allocations: 0.8228 MB / 0.7872 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.444e-05/0.2135, allocations: 7.938 kB / 0.7872 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.764e-05/0.2136, allocations: 11.86 kB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.33e-05/0.2137, allocations: 19.8 kB / 0.7872 GB, free: 0.6094 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.0006202/0.2143, allocations: 151.5 kB / 0.7874 GB, free: 472 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001751/0.2145, allocations: 151.5 kB / 0.7875 GB, free: 320 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.2146, allocations: 29.09 kB / 0.7875 GB, free: 288 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.2147, allocations: 67.77 kB / 0.7876 GB, free: 220 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.2149, allocations: 75.72 kB / 0.7877 GB, free: 144 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.2149, allocations: 16 kB / 0.7877 GB, free: 128 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.2151, allocations: 99.91 kB / 0.7878 GB, free: 28 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.3572/0.5723, allocations: 32.95 kB / 0.7878 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.5725, allocations: 62.02 kB / 0.7879 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004388/0.5729, allocations: 211.4 kB / 0.7881 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.573, allocations: 0 / 0.7881 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.013e-06/0.573, allocations: 0 / 0.7881 GB, free: 46.78 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.573, allocations: 0 / 0.7881 GB, free: 46.78 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007894/0.5738, allocations: 0.5395 MB / 0.7886 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.5738, allocations: 7.875 kB / 0.7886 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.16e-05/0.5739, allocations: 16.62 kB / 0.7886 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.574, allocations: 186.1 kB / 0.7888 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.5741, allocations: 7.688 kB / 0.7888 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.5741, allocations: 8.094 kB / 0.7888 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004399/0.5745, allocations: 144.7 kB / 0.789 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.5746, allocations: 3.938 kB / 0.789 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.5746, allocations: 9.344 kB / 0.789 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.5746, allocations: 0 / 0.789 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003896/0.575, allocations: 99.58 kB / 0.7891 GB, free: 46.03 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007039/0.5757, allocations: 378 kB / 0.7894 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.5761, allocations: 105.5 kB / 0.7895 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/0.5763, allocations: 85.53 kB / 0.7896 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.5764, allocations: 5.594 kB / 0.7896 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003697/0.5767, allocations: 146.6 kB / 0.7898 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.5768, allocations: 0.75 kB / 0.7898 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.001023/0.5778, allocations: 306.2 kB / 0.7901 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.5778, allocations: 59.52 kB / 0.7901 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.578, allocations: 146.3 kB / 0.7903 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.578, allocations: 28.42 kB / 0.7903 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.258e-05/0.578, allocations: 99.33 kB / 0.7904 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.5781, allocations: 26.17 kB / 0.7904 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/0.5781, allocations: 31.12 kB / 0.7904 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.135e-05/0.5782, allocations: 330.7 kB / 0.7907 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.5783, allocations: 41.52 kB / 0.7908 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.5784, allocations: 78.42 kB / 0.7909 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.5787, allocations: 121.6 kB / 0.791 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.5787, allocations: 3.281 kB / 0.791 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003411/0.579, allocations: 163 kB / 0.7911 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.579, allocations: 3.875 kB / 0.7911 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5791, allocations: 2.281 kB / 0.7911 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.5791, allocations: 5.125 kB / 0.7911 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.5792, allocations: 25.94 kB / 0.7912 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.5792, allocations: 112 / 0.7912 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.5794, allocations: 16.73 kB / 0.7912 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.5794, allocations: 6.344 kB / 0.7912 GB, free: 44.89 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,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 8.194e-05/0.5795, allocations: 126.9 kB / 0.7913 GB, free: 44.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.5795, allocations: 14.41 kB / 0.7913 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.177e-05/0.5795, allocations: 16.78 kB / 0.7913 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.5795, allocations: 0 / 0.7913 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5795, allocations: 0 / 0.7913 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5796, allocations: 0.8438 kB / 0.7913 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008614/0.5804, allocations: 0.5292 MB / 0.7919 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5804, allocations: 2.531 kB / 0.7919 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.693e-05/0.5805, allocations: 12.8 kB / 0.7919 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5805, allocations: 1.594 kB / 0.7919 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.5806, allocations: 5.484 kB / 0.7919 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.5806, allocations: 2.906 kB / 0.7919 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.5806, allocations: 3.938 kB / 0.7919 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006821/0.5813, allocations: 324.1 kB / 0.7922 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.5813, allocations: 85.7 kB / 0.7923 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.5813, allocations: 5.812 kB / 0.7923 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.5815, allocations: 27.75 kB / 0.7923 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.5816, allocations: 11.73 kB / 0.7923 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.5816, allocations: 3.812 kB / 0.7923 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.614e-05/0.5817, allocations: 119.8 kB / 0.7924 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5817, allocations: 0 / 0.7924 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003322/0.582, allocations: 55.39 kB / 0.7925 GB, free: 44.13 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,win.occ,win.on,win.p,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): 6 * 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.0003157/0.5823, allocations: 156.7 kB / 0.7926 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004903/0.5828, allocations: 141.8 kB / 0.7928 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.5829, allocations: 0 / 0.7928 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003081/0.5832, allocations: 100.4 kB / 0.7929 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.5835, allocations: 10.06 kB / 0.7929 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006603/0.5841, allocations: 282.2 kB / 0.7931 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001243/0.5843, allocations: 0.7029 MB / 0.7938 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/0.5843, allocations: 13.75 kB / 0.7938 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of SimCode: time 8.11e-07/0.5843, allocations: 3.5 kB / 0.7939 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of Templates: time 0.003856/0.5882, allocations: 2.139 MB / 0.7959 GB, free: 43.02 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)