Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.192/2.192, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001515/0.001515, allocations: 185.9 kB / 325.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.451/2.451, allocations: 205.4 MB / 0.5766 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 100.6 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007156/0.0007156, allocations: 11.31 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2659, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2345/0.5005, allocations: 133.5 MB / 1.029 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/0.5008, allocations: 83.95 kB / 1.029 GB, free: 11.66 MB / 0.6823 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 FrontEnd - DAE generated: time 0.01421/0.515, allocations: 2.99 MB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.745e-06/0.5151, allocations: 0 / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.114e-06/0.5151, allocations: 0 / 1.032 GB, free: 8.664 MB / 0.6823 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.0007241/0.5158, allocations: 420.7 kB / 1.033 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.5159, allocations: 12.03 kB / 1.033 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.927e-05/0.516, allocations: 11.86 kB / 1.033 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.5161, allocations: 167 kB / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.575e-05/0.5162, allocations: 8 kB / 1.033 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/0.5162, allocations: 4 kB / 1.033 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.5165, allocations: 65.66 kB / 1.033 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.5165, allocations: 3.984 kB / 1.033 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.5165, allocations: 4 kB / 1.033 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.5165, allocations: 4 kB / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002207/0.5168, allocations: 47.91 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008499/0.5176, allocations: 324.6 kB / 1.033 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.5178, allocations: 54.5 kB / 1.033 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.5179, allocations: 0 / 1.033 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002504/0.5181, allocations: 79.48 kB / 1.033 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.984e-06/0.5182, allocations: 4 kB / 1.033 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006558/0.5188, allocations: 157.5 kB / 1.034 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.5189, allocations: 51.41 kB / 1.034 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.519, allocations: 117 kB / 1.034 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.5191, allocations: 25.7 kB / 1.034 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.605e-05/0.5192, allocations: 92.33 kB / 1.034 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.5192, allocations: 15.75 kB / 1.034 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/0.5192, allocations: 0 / 1.034 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.5194, allocations: 322.8 kB / 1.034 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.5195, allocations: 27.98 kB / 1.034 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/0.5197, allocations: 58.92 kB / 1.034 GB, free: 6.402 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.5199, allocations: 28 kB / 1.034 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.5199, allocations: 0 / 1.034 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000408/0.5203, allocations: 121.5 kB / 1.034 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.5204, allocations: 12 kB / 1.034 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5204, allocations: 0 / 1.034 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.5204, allocations: 0 / 1.034 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.5206, allocations: 15.92 kB / 1.034 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.5206, allocations: 7.953 kB / 1.034 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.5207, allocations: 11.98 kB / 1.034 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.5208, allocations: 4 kB / 1.034 GB, free: 6.199 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001309/0.5209, allocations: 119.2 kB / 1.035 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.5209, allocations: 11.84 kB / 1.035 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/0.521, allocations: 12.36 kB / 1.035 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.521, allocations: 4 kB / 1.035 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.521, allocations: 3.984 kB / 1.035 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.521, allocations: 3.953 kB / 1.035 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007148/0.5218, allocations: 378.5 kB / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.5218, allocations: 4 kB / 1.035 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.97e-05/0.5219, allocations: 4 kB / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.5219, allocations: 0 / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.5219, allocations: 4 kB / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.5219, allocations: 3.953 kB / 1.035 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5219, allocations: 0 / 1.035 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004649/0.5224, allocations: 229.1 kB / 1.035 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-05/0.5225, allocations: 84.95 kB / 1.035 GB, free: 5.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.5225, allocations: 4 kB / 1.035 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.5226, allocations: 7.984 kB / 1.035 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.5227, allocations: 7.953 kB / 1.035 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.5227, allocations: 7.984 kB / 1.035 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.644e-05/0.5228, allocations: 91.28 kB / 1.035 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5228, allocations: 0 / 1.035 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004479/0.5233, allocations: 51.92 kB / 1.035 GB, free: 5.09 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004694/0.5238, allocations: 166.7 kB / 1.036 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003891/0.5242, allocations: 87.88 kB / 1.036 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5242, allocations: 0 / 1.036 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.5244, allocations: 31.98 kB / 1.036 GB, free: 4.82 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.5246, allocations: 8 kB / 1.036 GB, free: 4.812 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005413/0.5252, allocations: 209.2 kB / 1.036 GB, free: 4.57 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.5255, allocations: 0.6926 MB / 1.037 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.209e-05/0.5256, allocations: 4.188 kB / 1.037 GB, free: 3.848 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/0.5256, allocations: 11.44 kB / 1.037 GB, free: 3.84 MB / 0.6823 GB Notification: Performance of SimCode: time 1.172e-06/0.5256, allocations: 4 kB / 1.037 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of Templates: time 0.005914/0.5316, allocations: 1.516 MB / 1.038 GB, free: 2.32 MB / 0.6823 GB