Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.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.Controls.OBC.CDL.Continuous.Validation.Atan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 103.4 kB / 15.33 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.001708/0.001707, allocations: 190.8 kB / 16.25 MB, free: 6.621 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.683/1.683, allocations: 205.1 MB / 222.1 MB, free: 4.684 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.636/1.636, allocations: 251.7 MB / 0.5089 GB, free: 3.316 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.00152/0.00152, allocations: 63.91 kB / 0.6218 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8792/0.8807, allocations: 104.7 MB / 0.724 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan): time 0.003137/0.884, allocations: 1.429 MB / 0.7254 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004417/0.8844, allocations: 128.5 kB / 0.7255 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.035e-05/0.8845, allocations: 0 / 0.7255 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.338e-05/0.8846, allocations: 3.938 kB / 0.7255 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.233e-05/0.8847, allocations: 4 kB / 0.7255 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.8849, allocations: 7.984 kB / 0.7255 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.983e-05/0.885, allocations: 27.92 kB / 0.7256 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.8851, allocations: 11.98 kB / 0.7256 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.468e-05/0.8852, allocations: 3.938 kB / 0.7256 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.68e-05/0.8852, allocations: 11.98 kB / 0.7256 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.8853, allocations: 4 kB / 0.7256 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.196e-05/0.8853, allocations: 0 / 0.7256 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.077e-05/0.8853, allocations: 7.938 kB / 0.7256 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.55e-05/0.8853, allocations: 4 kB / 0.7256 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.8854, allocations: 27.88 kB / 0.7256 GB, free: 11.41 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.8854, allocations: 8 kB / 0.7256 GB, free: 11.41 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8855, allocations: 0 / 0.7256 GB, free: 11.41 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.8855, allocations: 0 / 0.7256 GB, free: 11.41 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.000603/0.8861, allocations: 333.4 kB / 0.726 GB, free: 11.03 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.8861, allocations: 12.03 kB / 0.726 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.8862, allocations: 4.938 kB / 0.726 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.8863, allocations: 168.3 kB / 0.7261 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.8863, allocations: 4.375 kB / 0.7261 GB, free: 10.81 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.8863, allocations: 4.312 kB / 0.7261 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.8865, allocations: 54.23 kB / 0.7262 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.8866, allocations: 192 / 0.7262 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.8866, allocations: 3.938 kB / 0.7262 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.8866, allocations: 0 / 0.7262 GB, free: 10.74 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.8867, allocations: 35.95 kB / 0.7262 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.8872, allocations: 248.9 kB / 0.7265 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.8873, allocations: 42.44 kB / 0.7265 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.339e-05/0.8874, allocations: 20.89 kB / 0.7265 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.8874, allocations: 3.938 kB / 0.7265 GB, free: 10.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.8875, allocations: 38.56 kB / 0.7266 GB, free: 10.29 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.8875, allocations: 4 kB / 0.7266 GB, free: 10.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003585/0.8878, allocations: 73.64 kB / 0.7266 GB, free: 10.21 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.8879, allocations: 59.34 kB / 0.7267 GB, free: 10.14 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.69e-05/0.888, allocations: 101.9 kB / 0.7268 GB, free: 10.03 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.888, allocations: 25.7 kB / 0.7268 GB, free: 9.996 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.417e-05/0.8881, allocations: 84.12 kB / 0.7269 GB, free: 9.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.8881, allocations: 12.03 kB / 0.7269 GB, free: 9.898 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/0.8881, allocations: 13.72 kB / 0.7269 GB, free: 9.879 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.8883, allocations: 310.8 kB / 0.7272 GB, free: 9.566 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.859e-05/0.8883, allocations: 19.98 kB / 0.7272 GB, free: 9.547 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.371e-05/0.8884, allocations: 15.97 kB / 0.7273 GB, free: 9.531 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.8885, allocations: 40.89 kB / 0.7273 GB, free: 9.488 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.8886, allocations: 0 / 0.7273 GB, free: 9.488 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00017/0.8887, allocations: 69.59 kB / 0.7274 GB, free: 9.414 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.8888, allocations: 10.19 kB / 0.7274 GB, free: 9.406 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.8888, allocations: 3.984 kB / 0.7274 GB, free: 9.402 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.8888, allocations: 3.984 kB / 0.7274 GB, free: 9.398 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.459e-05/0.8889, allocations: 7.984 kB / 0.7274 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.8889, allocations: 4 kB / 0.7274 GB, free: 9.387 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.281e-05/0.889, allocations: 7.938 kB / 0.7274 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.889, allocations: 4 kB / 0.7274 GB, free: 9.375 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.235e-05/0.889, allocations: 109.8 kB / 0.7275 GB, free: 9.258 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.8891, allocations: 3.984 kB / 0.7275 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.8893, allocations: 72.78 kB / 0.7276 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.8893, allocations: 0 / 0.7276 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.8893, allocations: 4.031 kB / 0.7276 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.8893, allocations: 0 / 0.7276 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.8895, allocations: 157.6 kB / 0.7277 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.8895, allocations: 0 / 0.7277 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.837e-05/0.8896, allocations: 15.92 kB / 0.7278 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.8896, allocations: 0 / 0.7278 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.8896, allocations: 0 / 0.7278 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.8896, allocations: 0 / 0.7278 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.8896, allocations: 3.984 kB / 0.7278 GB, free: 8.949 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.8898, allocations: 175.4 kB / 0.7279 GB, free: 8.762 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.187e-05/0.8899, allocations: 81.11 kB / 0.728 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.8899, allocations: 0 / 0.728 GB, free: 8.664 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.101e-05/0.89, allocations: 7.984 kB / 0.728 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.89, allocations: 0 / 0.728 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.89, allocations: 0 / 0.728 GB, free: 8.656 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.308e-05/0.8901, allocations: 91.3 kB / 0.7281 GB, free: 8.566 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8901, allocations: 0 / 0.7281 GB, free: 8.566 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002055/0.8903, allocations: 4 kB / 0.7281 GB, free: 8.562 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001976/0.8905, allocations: 99.25 kB / 0.7282 GB, free: 8.453 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002176/0.8907, allocations: 43.83 kB / 0.7282 GB, free: 8.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.8907, allocations: 0 / 0.7282 GB, free: 8.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.756e-05/0.8908, allocations: 24.05 kB / 0.7283 GB, free: 8.387 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.8911, allocations: 3.938 kB / 0.7283 GB, free: 8.383 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.8915, allocations: 109.4 kB / 0.7284 GB, free: 8.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.8919, allocations: 0.6768 MB / 0.729 GB, free: 7.547 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.903e-05/0.8919, allocations: 4 kB / 0.729 GB, free: 7.543 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/0.8919, allocations: 11.5 kB / 0.729 GB, free: 7.531 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.8919, allocations: 0 / 0.729 GB, free: 7.531 MB / 0.545 GB Notification: Performance of Templates: time 0.003339/0.8953, allocations: 376.4 kB / 0.7294 GB, free: 7.164 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan.pipe 2>&1)