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.Atan2.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.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009817/0.0009819, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.616/1.616, allocations: 251.9 MB / 0.51 GB, free: 4.977 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.0005564/0.0005567, allocations: 16 kB / 0.6241 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7033/0.7039, allocations: 106.3 MB / 0.728 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.002078/0.706, allocations: 1.13 MB / 0.7291 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003718/0.7064, allocations: 127.2 kB / 0.7292 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.722e-05/0.7065, allocations: 4 kB / 0.7292 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.353e-05/0.7065, allocations: 7.922 kB / 0.7292 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.951e-05/0.7066, allocations: 7.984 kB / 0.7292 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.7068, allocations: 15.98 kB / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.953e-05/0.7069, allocations: 27.91 kB / 0.7293 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.707, allocations: 4 kB / 0.7293 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.203e-05/0.7071, allocations: 15.92 kB / 0.7293 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.527e-05/0.7072, allocations: 19.91 kB / 0.7293 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.7073, allocations: 4 kB / 0.7293 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.64e-05/0.7073, allocations: 0 / 0.7293 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.238e-05/0.7073, allocations: 11.98 kB / 0.7293 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.816e-05/0.7074, allocations: 29.64 kB / 0.7294 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.613e-05/0.7075, allocations: 35.94 kB / 0.7294 GB, free: 10.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.7075, allocations: 0 / 0.7294 GB, free: 10.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.866e-06/0.7075, allocations: 0 / 0.7294 GB, free: 10.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.7075, allocations: 0 / 0.7294 GB, free: 10.02 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007196/0.7082, allocations: 365.1 kB / 0.7297 GB, free: 9.621 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.7083, allocations: 16.03 kB / 0.7298 GB, free: 9.605 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.7083, allocations: 4 kB / 0.7298 GB, free: 9.602 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.7085, allocations: 171 kB / 0.7299 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.7086, allocations: 0 / 0.7299 GB, free: 9.395 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.7086, allocations: 4 kB / 0.7299 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000309/0.7089, allocations: 81.59 kB / 0.73 GB, free: 9.305 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.7089, allocations: 0 / 0.73 GB, free: 9.305 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.7089, allocations: 0 / 0.73 GB, free: 9.305 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.709, allocations: 4 kB / 0.73 GB, free: 9.301 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002998/0.7093, allocations: 83.92 kB / 0.7301 GB, free: 9.219 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.7097, allocations: 272.8 kB / 0.7303 GB, free: 8.902 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.7099, allocations: 66.53 kB / 0.7304 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.71, allocations: 3.938 kB / 0.7304 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.71, allocations: 34.56 kB / 0.7304 GB, free: 8.781 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.71, allocations: 0 / 0.7304 GB, free: 8.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0006002/0.7106, allocations: 165.6 kB / 0.7306 GB, free: 8.613 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.7107, allocations: 51.41 kB / 0.7307 GB, free: 8.551 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.7108, allocations: 109.8 kB / 0.7308 GB, free: 8.434 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.7108, allocations: 25.7 kB / 0.7308 GB, free: 8.402 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.663e-05/0.7109, allocations: 99.97 kB / 0.7309 GB, free: 8.301 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.7109, allocations: 3.906 kB / 0.7309 GB, free: 8.297 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.7109, allocations: 4 kB / 0.7309 GB, free: 8.293 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.7111, allocations: 322.8 kB / 0.7312 GB, free: 7.969 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.7113, allocations: 43.89 kB / 0.7312 GB, free: 7.926 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.7114, allocations: 47.91 kB / 0.7313 GB, free: 7.879 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.7116, allocations: 43.95 kB / 0.7313 GB, free: 7.836 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7116, allocations: 4 kB / 0.7313 GB, free: 7.832 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003314/0.7119, allocations: 117.6 kB / 0.7314 GB, free: 7.711 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.7119, allocations: 5.875 kB / 0.7314 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.7119, allocations: 0 / 0.7314 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.712, allocations: 0 / 0.7314 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.7121, allocations: 19.98 kB / 0.7315 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.7121, allocations: 0 / 0.7315 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.315e-05/0.7122, allocations: 23.97 kB / 0.7315 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.7122, allocations: 0 / 0.7315 GB, free: 7.664 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 (3): * Single equations (assignments): 3 * 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.0001012/0.7123, allocations: 117.8 kB / 0.7316 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.7124, allocations: 3.906 kB / 0.7316 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/0.7128, allocations: 137.8 kB / 0.7317 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.7128, allocations: 0 / 0.7317 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.7128, allocations: 0 / 0.7317 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.7128, allocations: 0 / 0.7317 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.713, allocations: 173.6 kB / 0.7319 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.713, allocations: 0 / 0.7319 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.376e-05/0.7131, allocations: 19.98 kB / 0.7319 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.7131, allocations: 0 / 0.7319 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.7131, allocations: 8 kB / 0.7319 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.7131, allocations: 0 / 0.7319 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7131, allocations: 0 / 0.7319 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003811/0.7135, allocations: 223.4 kB / 0.7321 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.7136, allocations: 81.02 kB / 0.7322 GB, free: 6.809 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.7136, allocations: 4 kB / 0.7322 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.7137, allocations: 19.98 kB / 0.7322 GB, free: 6.785 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.7138, allocations: 7.984 kB / 0.7322 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.7138, allocations: 0 / 0.7322 GB, free: 6.777 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.342e-05/0.7138, allocations: 83.28 kB / 0.7323 GB, free: 6.695 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7138, allocations: 8 kB / 0.7323 GB, free: 6.688 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002056/0.714, allocations: 4 kB / 0.7323 GB, free: 6.684 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 (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001689/0.7142, allocations: 107.2 kB / 0.7324 GB, free: 6.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003477/0.7146, allocations: 87.92 kB / 0.7325 GB, free: 6.484 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.7146, allocations: 3.938 kB / 0.7325 GB, free: 6.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.7147, allocations: 51.91 kB / 0.7326 GB, free: 6.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.715, allocations: 10.7 kB / 0.7326 GB, free: 6.422 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003081/0.7153, allocations: 139.7 kB / 0.7327 GB, free: 6.266 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.7155, allocations: 0.6809 MB / 0.7334 GB, free: 5.559 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.189e-05/0.7156, allocations: 8 kB / 0.7334 GB, free: 5.551 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.7156, allocations: 7.438 kB / 0.7334 GB, free: 5.543 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.7156, allocations: 0 / 0.7334 GB, free: 5.543 MB / 0.545 GB Notification: Performance of Templates: time 0.002866/0.7185, allocations: 0.5202 MB / 0.7339 GB, free: 5.027 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1) Environment - environmentSimulation: