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.001063/0.001064, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001153/0.001154, allocations: 190.7 kB / 16.25 MB, free: 6.629 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.674/1.674, 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.552/1.552, allocations: 251.6 MB / 0.5089 GB, free: 3.301 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.001485/0.001485, allocations: 71.91 kB / 0.6218 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.758/0.7595, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.004029/0.7637, allocations: 1.484 MB / 0.7255 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003919/0.7641, allocations: 140.5 kB / 0.7256 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.046e-05/0.7641, allocations: 0 / 0.7256 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.76e-05/0.7642, allocations: 7.922 kB / 0.7256 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.342e-05/0.7643, allocations: 3.938 kB / 0.7256 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001717/0.7645, allocations: 16 kB / 0.7256 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.354e-05/0.7646, allocations: 51.84 kB / 0.7257 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.7647, allocations: 7.984 kB / 0.7257 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.283e-05/0.7648, allocations: 15.98 kB / 0.7257 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.073e-05/0.7649, allocations: 23.86 kB / 0.7257 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.7649, allocations: 4 kB / 0.7257 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.287e-05/0.7649, allocations: 0 / 0.7257 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.939e-05/0.765, allocations: 11.98 kB / 0.7257 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.385e-05/0.765, allocations: 27.8 kB / 0.7258 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.7652, allocations: 39.86 kB / 0.7258 GB, free: 11.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.7652, allocations: 4 kB / 0.7258 GB, free: 11.26 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.387e-06/0.7652, allocations: 0 / 0.7258 GB, free: 11.26 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.7652, allocations: 0 / 0.7258 GB, free: 11.26 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.0008172/0.766, allocations: 361.3 kB / 0.7261 GB, free: 10.86 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.7661, allocations: 11.97 kB / 0.7262 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.7661, allocations: 0.9375 kB / 0.7262 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.7663, allocations: 172.3 kB / 0.7263 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.7663, allocations: 4.375 kB / 0.7263 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.7664, allocations: 8.375 kB / 0.7263 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.7667, allocations: 62.22 kB / 0.7264 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.7667, allocations: 192 / 0.7264 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.7667, allocations: 7.938 kB / 0.7264 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.7667, allocations: 8 kB / 0.7264 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.767, allocations: 71.84 kB / 0.7265 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005272/0.7676, allocations: 261 kB / 0.7267 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.7678, allocations: 54.48 kB / 0.7268 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.768, allocations: 44.91 kB / 0.7268 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.879e-05/0.768, allocations: 0 / 0.7268 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.7681, allocations: 34.56 kB / 0.7269 GB, free: 10.02 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 2.604e-06/0.7681, allocations: 0 / 0.7269 GB, free: 10.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005104/0.7686, allocations: 137.4 kB / 0.727 GB, free: 9.879 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.194e-05/0.7687, allocations: 51.41 kB / 0.727 GB, free: 9.816 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.901e-05/0.7688, allocations: 109.8 kB / 0.7271 GB, free: 9.699 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.7688, allocations: 25.7 kB / 0.7272 GB, free: 9.668 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.87e-05/0.7689, allocations: 92.08 kB / 0.7273 GB, free: 9.574 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.7689, allocations: 3.906 kB / 0.7273 GB, free: 9.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.7689, allocations: 17.7 kB / 0.7273 GB, free: 9.547 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.7691, allocations: 318.8 kB / 0.7276 GB, free: 9.227 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.7692, allocations: 31.97 kB / 0.7276 GB, free: 9.195 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.7693, allocations: 31.95 kB / 0.7276 GB, free: 9.164 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002448/0.7696, allocations: 76.72 kB / 0.7277 GB, free: 9.086 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.7696, allocations: 7.875 kB / 0.7277 GB, free: 9.078 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002833/0.7699, allocations: 97.53 kB / 0.7278 GB, free: 8.977 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.7699, allocations: 4 kB / 0.7278 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.7699, allocations: 0 / 0.7278 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.7699, allocations: 0 / 0.7278 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.7701, allocations: 19.98 kB / 0.7278 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.7701, allocations: 0 / 0.7278 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.349e-05/0.7702, allocations: 15.97 kB / 0.7278 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.7702, allocations: 0 / 0.7278 GB, free: 8.938 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001252/0.7703, allocations: 117.8 kB / 0.728 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.7703, allocations: 0 / 0.728 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003515/0.7707, allocations: 117.4 kB / 0.7281 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.7707, allocations: 0 / 0.7281 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.7707, allocations: 0 / 0.7281 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.7707, allocations: 0 / 0.7281 GB, free: 8.684 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.7709, allocations: 169.5 kB / 0.7282 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.7709, allocations: 3.984 kB / 0.7282 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.898e-05/0.771, allocations: 19.98 kB / 0.7283 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/0.771, allocations: 0 / 0.7283 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.771, allocations: 0 / 0.7283 GB, free: 8.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.7711, allocations: 4 kB / 0.7283 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.7711, allocations: 0 / 0.7283 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.7714, allocations: 199.7 kB / 0.7285 GB, free: 8.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/0.7715, allocations: 85.02 kB / 0.7285 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.7715, allocations: 0 / 0.7285 GB, free: 8.129 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.7716, allocations: 23.98 kB / 0.7286 GB, free: 8.105 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.7717, allocations: 3.984 kB / 0.7286 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.7717, allocations: 0 / 0.7286 GB, free: 8.102 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.757e-05/0.7717, allocations: 91.27 kB / 0.7286 GB, free: 8.012 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7717, allocations: 0 / 0.7286 GB, free: 8.012 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002094/0.7719, allocations: 8 kB / 0.7287 GB, free: 8.004 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 (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.000181/0.7721, allocations: 95.25 kB / 0.7287 GB, free: 7.902 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003277/0.7725, allocations: 83.84 kB / 0.7288 GB, free: 7.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.7725, allocations: 0 / 0.7288 GB, free: 7.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.7726, allocations: 35.97 kB / 0.7289 GB, free: 7.785 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.7729, allocations: 11.88 kB / 0.7289 GB, free: 7.773 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003901/0.7733, allocations: 145.3 kB / 0.729 GB, free: 7.605 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.7736, allocations: 0.6807 MB / 0.7297 GB, free: 6.898 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.366e-05/0.7737, allocations: 0 / 0.7297 GB, free: 6.898 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.441e-05/0.7737, allocations: 11.44 kB / 0.7297 GB, free: 6.887 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.7737, allocations: 4 kB / 0.7297 GB, free: 6.883 MB / 0.545 GB Notification: Performance of Templates: time 0.003167/0.7769, allocations: 0.5678 MB / 0.7302 GB, free: 6.324 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile (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)