Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000886/0.000886, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008288/0.008288, allocations: 168.9 kB / 16.26 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.088/3.088, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005266/0.0005266, allocations: 12.38 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3967, allocations: 162.2 MB / 1.074 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.0008696/0.3976, allocations: 438.6 kB / 1.075 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.3988, allocations: 0.8273 MB / 1.075 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.202e-05/0.3989, allocations: 4 kB / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.551e-05/0.3989, allocations: 0 / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.215e-05/0.399, allocations: 3.938 kB / 1.075 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000154/0.3992, allocations: 19.98 kB / 1.075 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.3993, allocations: 51.78 kB / 1.075 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3994, allocations: 4 kB / 1.075 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.063e-05/0.3995, allocations: 15.92 kB / 1.075 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.071e-05/0.3996, allocations: 23.91 kB / 1.075 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.3996, allocations: 0 / 1.075 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.664e-05/0.3996, allocations: 4 kB / 1.076 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.328e-05/0.3997, allocations: 4 kB / 1.076 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.443e-05/0.3997, allocations: 45.56 kB / 1.076 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.454e-05/0.3998, allocations: 39.86 kB / 1.076 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3999, allocations: 0 / 1.076 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3999, allocations: 0 / 1.076 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.3999, allocations: 0 / 1.076 GB, free: 6.031 MB / 0.8262 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.0005294/0.4004, allocations: 365.4 kB / 1.076 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.4005, allocations: 16.02 kB / 1.076 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.4005, allocations: 0.9375 kB / 1.076 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.4007, allocations: 176.2 kB / 1.076 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.4007, allocations: 384 / 1.076 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.4007, allocations: 4.375 kB / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.401, allocations: 82.22 kB / 1.076 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.401, allocations: 192 / 1.076 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.401, allocations: 7.875 kB / 1.076 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.4011, allocations: 0 / 1.076 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003219/0.4014, allocations: 87.92 kB / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004474/0.4018, allocations: 264.9 kB / 1.077 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.4021, allocations: 74.47 kB / 1.077 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001711/0.4023, allocations: 44.92 kB / 1.077 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.049e-05/0.4023, allocations: 4 kB / 1.077 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.4024, allocations: 34.56 kB / 1.077 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 2.524e-06/0.4024, allocations: 3.984 kB / 1.077 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0006214/0.403, allocations: 165.4 kB / 1.077 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.4031, allocations: 55.41 kB / 1.077 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.4032, allocations: 109.8 kB / 1.077 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.4032, allocations: 25.7 kB / 1.077 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.4033, allocations: 84.14 kB / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.51e-05/0.4033, allocations: 15.8 kB / 1.077 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.4033, allocations: 13.72 kB / 1.077 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.4035, allocations: 310.8 kB / 1.077 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.4036, allocations: 51.89 kB / 1.077 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.4038, allocations: 39.97 kB / 1.078 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.4041, allocations: 92.78 kB / 1.078 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.4041, allocations: 7.938 kB / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003559/0.4045, allocations: 117.6 kB / 1.078 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4045, allocations: 8 kB / 1.078 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4045, allocations: 0 / 1.078 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.4045, allocations: 0 / 1.078 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.4046, allocations: 23.97 kB / 1.078 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.4047, allocations: 320 / 1.078 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.688e-05/0.4048, allocations: 19.98 kB / 1.078 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.4048, allocations: 4 kB / 1.078 GB, free: 3.543 MB / 0.8262 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 8.481e-05/0.4049, allocations: 113.8 kB / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/0.4049, allocations: 3.906 kB / 1.078 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004004/0.4053, allocations: 133.5 kB / 1.078 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4053, allocations: 0 / 1.078 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.4053, allocations: 0 / 1.078 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.4053, allocations: 0 / 1.078 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.4055, allocations: 189.5 kB / 1.078 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.4055, allocations: 0 / 1.078 GB, free: 3.039 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.91e-05/0.4056, allocations: 19.98 kB / 1.078 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.4057, allocations: 0 / 1.078 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.4057, allocations: 0 / 1.078 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.4057, allocations: 0 / 1.078 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.4057, allocations: 0 / 1.078 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004921/0.4062, allocations: 227.3 kB / 1.078 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/0.4062, allocations: 85.02 kB / 1.079 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.4063, allocations: 0 / 1.079 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.4064, allocations: 19.92 kB / 1.079 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.4064, allocations: 4.406 kB / 1.079 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.4064, allocations: 4 kB / 1.079 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.475e-05/0.4065, allocations: 87.27 kB / 1.079 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4065, allocations: 4 kB / 1.079 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002165/0.4067, allocations: 8 kB / 1.079 GB, free: 2.555 MB / 0.8262 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.0001568/0.4069, allocations: 99.23 kB / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003807/0.4073, allocations: 91.92 kB / 1.079 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4073, allocations: 3.938 kB / 1.079 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001781/0.4075, allocations: 56.05 kB / 1.079 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.4078, allocations: 13.42 kB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.4081, allocations: 146.5 kB / 1.079 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.4085, allocations: 0.6848 MB / 1.08 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.159e-05/0.4086, allocations: 0 / 1.08 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.4086, allocations: 7.438 kB / 1.08 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.4086, allocations: 0 / 1.08 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of Templates: time 0.003411/0.412, allocations: 0.5404 MB / 1.08 GB, free: 0.8633 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1)