Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.358/2.358, allocations: 252.6 MB / 265.2 MB, free: 5.828 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.001501, allocations: 185.5 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.4 MB / 0.5754 GB, free: 10.4 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.001091/0.00109, allocations: 104.2 kB / 0.6797 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.899e-05/4.922e-05, allocations: 8 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.247, allocations: 106.3 MB / 0.8949 GB, free: 6.266 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9636/1.211, allocations: 133.5 MB / 1.025 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/1.211, allocations: 85.31 kB / 1.025 GB, free: 1.051 MB / 0.6355 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.02185/1.233, allocations: 2.972 MB / 1.028 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.465e-06/1.233, allocations: 0 / 1.028 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.531e-05/1.233, allocations: 4 kB / 1.028 GB, free: 14.49 MB / 0.6511 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.0009845/1.234, allocations: 411 kB / 1.029 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.074e-05/1.234, allocations: 12.03 kB / 1.029 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.394e-05/1.234, allocations: 7.859 kB / 1.029 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/1.234, allocations: 170.9 kB / 1.029 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.602e-05/1.234, allocations: 7.312 kB / 1.029 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.269e-05/1.235, allocations: 7.984 kB / 1.029 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/1.235, allocations: 63.97 kB / 1.029 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/1.235, allocations: 0 / 1.029 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/1.235, allocations: 4 kB / 1.029 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/1.235, allocations: 3.188 kB / 1.029 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/1.235, allocations: 26.8 kB / 1.029 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/1.236, allocations: 312.4 kB / 1.029 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/1.237, allocations: 49.12 kB / 1.029 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/1.237, allocations: 24.17 kB / 1.029 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.533e-05/1.237, allocations: 0 / 1.029 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002484/1.237, allocations: 69.95 kB / 1.029 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 3.497e-06/1.237, allocations: 0 / 1.029 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0005002/1.238, allocations: 107.6 kB / 1.029 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/1.238, allocations: 55.41 kB / 1.029 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/1.238, allocations: 111.9 kB / 1.03 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/1.238, allocations: 33.27 kB / 1.03 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.202e-05/1.238, allocations: 83.95 kB / 1.03 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.707e-05/1.238, allocations: 23.55 kB / 1.03 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.359e-05/1.238, allocations: 0 / 1.03 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002158/1.238, allocations: 317.8 kB / 1.03 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/1.239, allocations: 30.67 kB / 1.03 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/1.239, allocations: 48.58 kB / 1.03 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/1.239, allocations: 23.8 kB / 1.03 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/1.239, allocations: 4 kB / 1.03 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004443/1.239, allocations: 98.95 kB / 1.03 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/1.239, allocations: 4 kB / 1.03 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/1.239, allocations: 0 / 1.03 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/1.24, allocations: 4 kB / 1.03 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002405/1.24, allocations: 19.8 kB / 1.03 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.262e-05/1.24, allocations: 7.953 kB / 1.03 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/1.24, allocations: 4 kB / 1.03 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.27e-05/1.24, allocations: 11.92 kB / 1.03 GB, free: 12.3 MB / 0.6511 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 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$whenCondition1,win.sampleTrigger) * Number of discrete 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.0001489/1.24, allocations: 108.1 kB / 1.03 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/1.24, allocations: 3.906 kB / 1.03 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.881e-05/1.24, allocations: 11.94 kB / 1.03 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/1.24, allocations: 4 kB / 1.03 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.24, allocations: 0 / 1.03 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/1.24, allocations: 3.953 kB / 1.03 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008376/1.241, allocations: 375 kB / 1.031 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.241, allocations: 0 / 1.031 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/1.241, allocations: 8.859 kB / 1.031 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/1.241, allocations: 0 / 1.031 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/1.242, allocations: 0 / 1.031 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.107e-06/1.242, allocations: 3.953 kB / 1.031 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/1.242, allocations: 4 kB / 1.031 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004716/1.242, allocations: 187.8 kB / 1.031 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.505e-05/1.242, allocations: 89 kB / 1.031 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.206e-05/1.242, allocations: 4.062 kB / 1.031 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/1.242, allocations: 7.25 kB / 1.031 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.569e-05/1.243, allocations: 15.92 kB / 1.031 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/1.243, allocations: 3.984 kB / 1.031 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001126/1.243, allocations: 103.1 kB / 1.031 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.62e-07/1.243, allocations: 0 / 1.031 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007501/1.244, allocations: 47.25 kB / 1.031 GB, free: 11.31 MB / 0.6511 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 () * 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.0006551/1.244, allocations: 167.2 kB / 1.031 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003589/1.245, allocations: 62.03 kB / 1.031 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.245, allocations: 4 kB / 1.031 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/1.245, allocations: 26.69 kB / 1.031 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/1.245, allocations: 14.39 kB / 1.031 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005545/1.246, allocations: 101.7 kB / 1.032 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/1.246, allocations: 0.6887 MB / 1.032 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001085/1.246, allocations: 8.188 kB / 1.032 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.809e-05/1.246, allocations: 11.44 kB / 1.032 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of SimCode: time 1.372e-06/1.246, allocations: 0 / 1.032 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of Templates: time 0.009172/1.256, allocations: 1.539 MB / 1.034 GB, free: 8.707 MB / 0.6511 GB