Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.BaseClasses.Validation.Linear1D.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.128/5.128, allocations: 0.5623 GB / 0.5775 GB, free: 3.363 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002441/0.002441, allocations: 360 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.387/4.387, allocations: 410.7 MB / 1.113 GB, free: 6.023 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001807/0.001806, allocations: 184.7 kB / 1.226 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005167/0.000517, allocations: 23.98 kB / 1.349 GB, free: 8.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.748/0.7486, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2005/0.9491, allocations: 138 MB / 1.596 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.9494, allocations: 71.97 kB / 1.596 GB, free: 146.1 MB / 0.8542 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.008744/0.9582, allocations: 2.164 MB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9582, allocations: 0 / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.9582, allocations: 4.75 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004087/0.9586, allocations: 376.5 kB / 1.599 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.9587, allocations: 16.25 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.9587, allocations: 7.891 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.923e-05/0.9588, allocations: 165.2 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/0.9589, allocations: 8 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.9589, allocations: 1.312 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.959, allocations: 37.69 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.9591, allocations: 0 / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.9591, allocations: 1.281 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.9591, allocations: 0 / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.303e-05/0.9591, allocations: 11.92 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/0.9593, allocations: 163.2 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.9594, allocations: 28.83 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.782e-05/0.9595, allocations: 21.47 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.594e-06/0.9595, allocations: 1 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001467/0.9597, allocations: 56.72 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 2.204e-06/0.9597, allocations: 0 / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0002601/0.96, allocations: 66.98 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.96, allocations: 55.41 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.609e-05/0.9601, allocations: 101.8 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.9601, allocations: 26.36 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.919e-05/0.9601, allocations: 84.92 kB / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.9602, allocations: 11.91 kB / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-06/0.9602, allocations: 1 kB / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.895e-05/0.9603, allocations: 318.8 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.593e-05/0.9603, allocations: 12.61 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.245e-05/0.9603, allocations: 41.14 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.81e-05/0.9604, allocations: 10.78 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.9604, allocations: 0 / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001207/0.9605, allocations: 63.12 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.9606, allocations: 10.81 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.9606, allocations: 160 / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.9606, allocations: 0 / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.386e-05/0.9607, allocations: 17.45 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.9607, allocations: 3.984 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.9e-05/0.9608, allocations: 11.94 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.9608, allocations: 0 / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.22e-05/0.9609, allocations: 115.6 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.337e-05/0.9609, allocations: 3.906 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.022e-05/0.9609, allocations: 11.5 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.961, allocations: 0.8438 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.961, allocations: 0 / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.961, allocations: 1.031 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.9611, allocations: 157.6 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.9611, allocations: 0 / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.087e-05/0.9612, allocations: 7.219 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.9612, allocations: 3.938 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.9612, allocations: 4 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.9612, allocations: 0 / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.9612, allocations: 0 / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.9614, allocations: 94.41 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/0.9614, allocations: 78.02 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.9615, allocations: 4 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.333e-05/0.9615, allocations: 1 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.402e-05/0.9616, allocations: 7.984 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.9616, allocations: 3.938 kB / 1.6 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.993e-05/0.9616, allocations: 79.91 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.41e-07/0.9616, allocations: 1.812 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003657/0.962, allocations: 43.98 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000431/0.9624, allocations: 165.9 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00016/0.9626, allocations: 33.86 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.654e-06/0.9626, allocations: 0 / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.106e-05/0.9627, allocations: 12 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.9629, allocations: 2.281 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003234/0.9632, allocations: 132.4 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.9634, allocations: 0.6809 MB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.507e-05/0.9634, allocations: 0.875 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.991e-05/0.9634, allocations: 12.59 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of SimCode: time 8.62e-07/0.9634, allocations: 0 / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.004561/0.968, allocations: 1.175 MB / 1.603 GB, free: 139.2 MB / 0.8542 GB