Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 115.3 kB / 15.34 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 189.4 kB / 16.25 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.558/1.558, allocations: 251.6 MB / 0.5089 GB, free: 3.258 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 67.91 kB / 0.6217 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6367/0.6387, allocations: 104.7 MB / 0.724 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration): time 0.002286/0.6411, allocations: 1.26 MB / 0.7252 GB, free: 11.78 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007446/0.6418, allocations: 422.3 kB / 0.7256 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.096e-05/0.6418, allocations: 0 / 0.7256 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.263e-05/0.6419, allocations: 0 / 0.7256 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.69e-05/0.6419, allocations: 0 / 0.7256 GB, free: 11.37 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 NFTyping.typeClassSections: time 0.0004977/0.6424, allocations: 79.8 kB / 0.7257 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.605e-05/0.6425, allocations: 15.98 kB / 0.7257 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.755e-05/0.6425, allocations: 0 / 0.7257 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.139e-05/0.6426, allocations: 7.984 kB / 0.7257 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.924e-05/0.6426, allocations: 15.92 kB / 0.7257 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.6426, allocations: 0 / 0.7257 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001742/0.6428, allocations: 95.84 kB / 0.7258 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.6428, allocations: 4 kB / 0.7258 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.6428, allocations: 3.938 kB / 0.7258 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.643, allocations: 79.88 kB / 0.7259 GB, free: 11.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.643, allocations: 4 kB / 0.7259 GB, free: 11.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.543e-06/0.643, allocations: 0 / 0.7259 GB, free: 11.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.643, allocations: 0 / 0.7259 GB, free: 11.07 MB / 0.545 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.0004353/0.6435, allocations: 347.4 kB / 0.7262 GB, free: 10.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.6435, allocations: 12.03 kB / 0.7263 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.6435, allocations: 8.938 kB / 0.7263 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.6436, allocations: 170.3 kB / 0.7264 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.6437, allocations: 8.375 kB / 0.7264 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.6437, allocations: 384 / 0.7264 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.19e-05/0.6438, allocations: 38.19 kB / 0.7265 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.6438, allocations: 192 / 0.7265 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.6438, allocations: 3.938 kB / 0.7265 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.6438, allocations: 4 kB / 0.7265 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.224e-05/0.6438, allocations: 0 / 0.7265 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001469/0.644, allocations: 161.7 kB / 0.7266 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.846e-05/0.6441, allocations: 26.61 kB / 0.7267 GB, free: 10.15 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.35e-05/0.6441, allocations: 12.86 kB / 0.7267 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.6441, allocations: 0 / 0.7267 GB, free: 10.14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001234/0.6443, allocations: 59.42 kB / 0.7267 GB, free: 10.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.6443, allocations: 0 / 0.7267 GB, free: 10.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0001783/0.6445, allocations: 77.52 kB / 0.7268 GB, free: 9.984 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.6445, allocations: 55.41 kB / 0.7268 GB, free: 9.918 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.003e-05/0.6446, allocations: 93.86 kB / 0.7269 GB, free: 9.816 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.6446, allocations: 29.7 kB / 0.727 GB, free: 9.781 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.223e-05/0.6446, allocations: 80.14 kB / 0.727 GB, free: 9.699 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.6447, allocations: 7.844 kB / 0.7271 GB, free: 9.691 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/0.6447, allocations: 33.64 kB / 0.7271 GB, free: 9.652 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.6449, allocations: 311 kB / 0.7274 GB, free: 9.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.6449, allocations: 11.94 kB / 0.7274 GB, free: 9.328 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.31e-05/0.6449, allocations: 35.42 kB / 0.7274 GB, free: 9.281 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.332e-05/0.645, allocations: 43.38 kB / 0.7275 GB, free: 9.227 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.645, allocations: 4 kB / 0.7275 GB, free: 9.223 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.673e-05/0.6451, allocations: 69.61 kB / 0.7275 GB, free: 9.148 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.6451, allocations: 7.938 kB / 0.7275 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.6451, allocations: 7.938 kB / 0.7276 GB, free: 9.133 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.6451, allocations: 0 / 0.7276 GB, free: 9.133 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.026e-05/0.6452, allocations: 4 kB / 0.7276 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.6452, allocations: 7.938 kB / 0.7276 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.836e-05/0.6452, allocations: 3.906 kB / 0.7276 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.6452, allocations: 4 kB / 0.7276 GB, free: 9.113 MB / 0.545 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 (y,$PRE.y,curSeed,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.289e-05/0.6453, allocations: 121.9 kB / 0.7277 GB, free: 8.984 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.044e-05/0.6453, allocations: 4.172 kB / 0.7277 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.074e-05/0.6454, allocations: 7.484 kB / 0.7277 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.6454, allocations: 0 / 0.7277 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6454, allocations: 0 / 0.7277 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.6454, allocations: 0 / 0.7277 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.6455, allocations: 157.7 kB / 0.7278 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.6455, allocations: 0 / 0.7278 GB, free: 8.766 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-05/0.6455, allocations: 4 kB / 0.7279 GB, free: 8.762 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.6455, allocations: 3.938 kB / 0.7279 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.6455, allocations: 4 kB / 0.7279 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.6455, allocations: 4 kB / 0.7279 GB, free: 8.75 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.6455, allocations: 7.984 kB / 0.7279 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.6457, allocations: 81.06 kB / 0.7279 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/0.6457, allocations: 81.11 kB / 0.728 GB, free: 8.547 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.6457, allocations: 7.922 kB / 0.728 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.866e-05/0.6457, allocations: 0 / 0.728 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.093e-05/0.6458, allocations: 8 kB / 0.728 GB, free: 8.531 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-06/0.6458, allocations: 0 / 0.728 GB, free: 8.531 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.803e-05/0.6458, allocations: 79.28 kB / 0.7281 GB, free: 8.453 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6458, allocations: 0 / 0.7281 GB, free: 8.453 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002356/0.646, allocations: 31.98 kB / 0.7281 GB, free: 8.422 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003156/0.6464, allocations: 164.2 kB / 0.7283 GB, free: 8.266 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.998e-05/0.6465, allocations: 27.92 kB / 0.7283 GB, free: 8.238 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6465, allocations: 4 kB / 0.7283 GB, free: 8.234 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.815e-05/0.6465, allocations: 8 kB / 0.7283 GB, free: 8.227 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.6466, allocations: 0 / 0.7283 GB, free: 8.227 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002111/0.6469, allocations: 117 kB / 0.7285 GB, free: 8.086 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.6471, allocations: 0.6767 MB / 0.7291 GB, free: 7.383 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.127e-05/0.6471, allocations: 8.438 kB / 0.7291 GB, free: 7.375 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.558e-05/0.6471, allocations: 11.42 kB / 0.7291 GB, free: 7.363 MB / 0.545 GB Notification: Performance of SimCode: time 1.9e-07/0.6471, allocations: 0 / 0.7291 GB, free: 7.363 MB / 0.545 GB Notification: Performance of Templates: time 0.002808/0.65, allocations: 0.9646 MB / 0.7301 GB, free: 6.406 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.BaseClasses.Validation.ExponentialVariableGeneration.pipe 2>&1)