Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.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.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.351/2.351, allocations: 253.2 MB / 260.6 MB, free: 7.441 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.001583/0.001583, allocations: 188.8 kB / 319.9 MB, free: 3.043 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.109/2.109, allocations: 205.6 MB / 0.5708 GB, free: 15.26 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.001539/0.001538, allocations: 98.58 kB / 0.6751 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.013e-05/2.021e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2501, allocations: 106.2 MB / 0.8887 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8757/1.126, allocations: 131.9 MB / 1.017 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/1.126, allocations: 72.64 kB / 1.018 GB, free: 5.465 MB / 0.6355 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/Occupants/BaseClasses/exponentialVariableGeneration.mo:11:5-11:98: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.008698/1.135, allocations: 2.037 MB / 1.02 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.323e-06/1.135, allocations: 0 / 1.02 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.923e-06/1.135, allocations: 0 / 1.02 GB, free: 3.727 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004198/1.135, allocations: 348 kB / 1.02 GB, free: 3.348 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/1.135, allocations: 16.02 kB / 1.02 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/1.136, allocations: 4.438 kB / 1.02 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/1.136, allocations: 167 kB / 1.02 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/1.136, allocations: 4.625 kB / 1.02 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/1.136, allocations: 0 / 1.02 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.45e-05/1.136, allocations: 8 kB / 1.02 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.349e-05/1.136, allocations: 37.12 kB / 1.02 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/1.136, allocations: 0 / 1.02 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/1.136, allocations: 3.984 kB / 1.02 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/1.136, allocations: 0 / 1.02 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/1.136, allocations: 137.4 kB / 1.02 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.721e-05/1.136, allocations: 30.33 kB / 1.02 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.678e-05/1.136, allocations: 4.859 kB / 1.02 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/1.136, allocations: 8 kB / 1.02 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/1.136, allocations: 53.53 kB / 1.02 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/1.136, allocations: 0 / 1.02 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002189/1.137, allocations: 56.42 kB / 1.02 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/1.137, allocations: 55.41 kB / 1.02 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.329e-05/1.137, allocations: 96.72 kB / 1.02 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/1.137, allocations: 25.7 kB / 1.021 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.771e-05/1.137, allocations: 80.14 kB / 1.021 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/1.137, allocations: 11.84 kB / 1.021 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-06/1.137, allocations: 3.938 kB / 1.021 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001215/1.137, allocations: 318.2 kB / 1.021 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.232e-05/1.137, allocations: 4 kB / 1.021 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.621e-05/1.137, allocations: 31.19 kB / 1.021 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.669e-05/1.137, allocations: 15.33 kB / 1.021 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.137, allocations: 0 / 1.021 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001307/1.137, allocations: 62.14 kB / 1.021 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/1.137, allocations: 8 kB / 1.021 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/1.137, allocations: 0 / 1.021 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/1.137, allocations: 0 / 1.021 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.445e-05/1.137, allocations: 11.94 kB / 1.021 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/1.137, allocations: 8.031 kB / 1.021 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.781e-05/1.138, allocations: 4 kB / 1.021 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/1.138, allocations: 0 / 1.021 GB, free: 1.98 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: 5 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete 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 0.0001005/1.138, allocations: 108.9 kB / 1.021 GB, free: 1.867 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.554e-05/1.138, allocations: 11.83 kB / 1.021 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.853e-05/1.138, allocations: 8.062 kB / 1.021 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/1.138, allocations: 0 / 1.021 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.138, allocations: 4 kB / 1.021 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.138, allocations: 0 / 1.021 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/1.138, allocations: 134.3 kB / 1.021 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.138, allocations: 4 kB / 1.021 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.329e-05/1.138, allocations: 3.984 kB / 1.021 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/1.138, allocations: 3.953 kB / 1.021 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/1.138, allocations: 0 / 1.021 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.138, allocations: 0 / 1.021 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.138, allocations: 4 kB / 1.021 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/1.138, allocations: 83.86 kB / 1.021 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/1.138, allocations: 81.11 kB / 1.021 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/1.138, allocations: 7.078 kB / 1.021 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.903e-05/1.138, allocations: 3.938 kB / 1.021 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/1.138, allocations: 4 kB / 1.021 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/1.138, allocations: 3.984 kB / 1.021 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.927e-05/1.138, allocations: 75.28 kB / 1.022 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.1e-07/1.138, allocations: 0 / 1.022 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003824/1.139, allocations: 43.88 kB / 1.022 GB, free: 1.336 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: 3 ($whenCondition1,y,curSeed) * Number of discrete 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.00045/1.139, allocations: 167.3 kB / 1.022 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001192/1.139, allocations: 27.67 kB / 1.022 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.139, allocations: 0 / 1.022 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.124e-05/1.139, allocations: 10.56 kB / 1.022 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/1.14, allocations: 5.5 kB / 1.022 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002259/1.14, allocations: 71.55 kB / 1.022 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/1.14, allocations: 0.6807 MB / 1.023 GB, free: 360 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.808e-05/1.14, allocations: 0 / 1.023 GB, free: 360 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.207e-05/1.14, allocations: 11.44 kB / 1.023 GB, free: 348 kB / 0.6355 GB Notification: Performance of SimCode: time 7.22e-07/1.14, allocations: 0 / 1.023 GB, free: 348 kB / 0.6355 GB Notification: Performance of Templates: time 0.004687/1.145, allocations: 1.125 MB / 1.024 GB, free: 15.23 MB / 0.6511 GB