Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00898/0.00898, allocations: 112 kB / 15.06 MB, free: 5.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001105/0.001105, allocations: 180.7 kB / 15.94 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.149/2.149, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.285/2.285, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004991/0.0004994, allocations: 19.94 kB / 0.5869 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5513/0.5519, allocations: 98.71 MB / 0.6833 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1841/0.736, allocations: 126.5 MB / 0.8069 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.7364, allocations: 83.94 kB / 0.807 GB, free: 15.68 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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.01268/0.7491, allocations: 2.944 MB / 0.8099 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.436e-06/0.7491, allocations: 0 / 0.8099 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.7491, allocations: 8 kB / 0.8099 GB, free: 12.72 MB / 0.6355 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.000607/0.7497, allocations: 412.8 kB / 0.8103 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.7498, allocations: 8.031 kB / 0.8103 GB, free: 12.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.746e-05/0.7499, allocations: 11.86 kB / 0.8103 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.75, allocations: 167 kB / 0.8104 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.75, allocations: 4 kB / 0.8104 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.7501, allocations: 8 kB / 0.8104 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.7503, allocations: 77.62 kB / 0.8105 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.7503, allocations: 4 kB / 0.8105 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.7504, allocations: 0 / 0.8105 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.56e-06/0.7504, allocations: 0 / 0.8105 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001799/0.7506, allocations: 47.91 kB / 0.8106 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007168/0.7513, allocations: 315.2 kB / 0.8109 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.7515, allocations: 54.56 kB / 0.8109 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.7515, allocations: 0 / 0.8109 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002058/0.7517, allocations: 83.44 kB / 0.811 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.43e-06/0.7518, allocations: 0 / 0.811 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0005197/0.7523, allocations: 153.6 kB / 0.8111 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.7523, allocations: 55.41 kB / 0.8112 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.7525, allocations: 116.9 kB / 0.8113 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.7525, allocations: 29.7 kB / 0.8113 GB, free: 11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.166e-05/0.7526, allocations: 88.27 kB / 0.8114 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.856e-05/0.7526, allocations: 15.81 kB / 0.8114 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.869e-06/0.7527, allocations: 0 / 0.8114 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.7528, allocations: 322.8 kB / 0.8117 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.753, allocations: 31.98 kB / 0.8118 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.7531, allocations: 63.72 kB / 0.8118 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.7533, allocations: 31.98 kB / 0.8119 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.058e-06/0.7533, allocations: 7.938 kB / 0.8119 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003663/0.7537, allocations: 121.5 kB / 0.812 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.7537, allocations: 8 kB / 0.812 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.13e-06/0.7537, allocations: 0 / 0.812 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.7537, allocations: 0 / 0.812 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.7539, allocations: 19.92 kB / 0.812 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.135e-06/0.7539, allocations: 4.016 kB / 0.812 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.43e-05/0.754, allocations: 12 kB / 0.812 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.754, allocations: 7.984 kB / 0.812 GB, free: 10.25 MB / 0.6355 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 () * 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.0001199/0.7542, allocations: 113.8 kB / 0.8121 GB, free: 10.13 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.7542, allocations: 7.906 kB / 0.8122 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/0.7543, allocations: 12.38 kB / 0.8122 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.7543, allocations: 0 / 0.8122 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.473e-06/0.7543, allocations: 0 / 0.8122 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.806e-06/0.7543, allocations: 7.953 kB / 0.8122 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006357/0.7549, allocations: 378.5 kB / 0.8125 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.959e-06/0.755, allocations: 4 kB / 0.8125 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.049e-05/0.755, allocations: 7.984 kB / 0.8125 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.074e-06/0.755, allocations: 0 / 0.8125 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.7551, allocations: 4 kB / 0.8126 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.583e-06/0.7551, allocations: 11.89 kB / 0.8126 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.7551, allocations: 0 / 0.8126 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003989/0.7555, allocations: 219.7 kB / 0.8128 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.715e-05/0.7556, allocations: 85.02 kB / 0.8129 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.7556, allocations: 4.062 kB / 0.8129 GB, free: 9.305 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.7558, allocations: 12 kB / 0.8129 GB, free: 9.293 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.7558, allocations: 11.94 kB / 0.8129 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.7558, allocations: 0 / 0.8129 GB, free: 9.281 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.372e-05/0.7559, allocations: 91.27 kB / 0.813 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.85e-07/0.7559, allocations: 0 / 0.813 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004361/0.7564, allocations: 55.92 kB / 0.813 GB, free: 9.137 MB / 0.6355 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.0004466/0.7568, allocations: 171 kB / 0.8132 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003206/0.7572, allocations: 83.91 kB / 0.8133 GB, free: 8.895 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.022e-06/0.7572, allocations: 0 / 0.8133 GB, free: 8.895 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.7573, allocations: 47.98 kB / 0.8133 GB, free: 8.848 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.7576, allocations: 4 kB / 0.8133 GB, free: 8.844 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004812/0.7581, allocations: 197.1 kB / 0.8135 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.7584, allocations: 0.7004 MB / 0.8142 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.081e-05/0.7585, allocations: 192 / 0.8142 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.7585, allocations: 11.44 kB / 0.8142 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of SimCode: time 1.523e-06/0.7586, allocations: 0 / 0.8142 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of Templates: time 0.005342/0.7639, allocations: 1.527 MB / 0.8157 GB, free: 6.355 MB / 0.6355 GB