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.01062/0.01062, allocations: 102.4 kB / 15.73 MB, free: 6.02 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.001542/0.001542, allocations: 189.9 kB / 16.67 MB, free: 5.957 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.611/1.611, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.778/1.778, allocations: 251.7 MB / 0.5094 GB, free: 3 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.001452/0.001452, allocations: 71.89 kB / 0.7258 GB, free: 9.066 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2855, allocations: 104.7 MB / 0.8281 GB, free: 264 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.002764/0.2883, allocations: 1.43 MB / 0.8295 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003981/0.2888, allocations: 144.8 kB / 0.8296 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.374e-05/0.2888, allocations: 0 / 0.8296 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.246e-05/0.2889, allocations: 3.938 kB / 0.8296 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.799e-05/0.2889, allocations: 3.938 kB / 0.8296 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.2891, allocations: 23.97 kB / 0.8297 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 9.743e-05/0.2892, allocations: 43.8 kB / 0.8297 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.2894, allocations: 19.97 kB / 0.8297 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.58e-05/0.2895, allocations: 15.98 kB / 0.8297 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.609e-05/0.2895, allocations: 23.86 kB / 0.8298 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.2895, allocations: 4 kB / 0.8298 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.314e-05/0.2896, allocations: 4 kB / 0.8298 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.097e-05/0.2896, allocations: 4 kB / 0.8298 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.224e-05/0.2896, allocations: 19.86 kB / 0.8298 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.2897, allocations: 39.81 kB / 0.8298 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.2898, allocations: 0 / 0.8298 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2898, allocations: 0 / 0.8298 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.2898, allocations: 4 kB / 0.8298 GB, free: 14.47 MB / 0.6544 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.0006143/0.2904, allocations: 363.3 kB / 0.8302 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.2904, allocations: 12.03 kB / 0.8302 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.2905, allocations: 0.9375 kB / 0.8302 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.2907, allocations: 180.2 kB / 0.8304 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.2907, allocations: 384 / 0.8304 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.2907, allocations: 384 / 0.8304 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.291, allocations: 74.22 kB / 0.8304 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.291, allocations: 4.125 kB / 0.8304 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.291, allocations: 3.938 kB / 0.8304 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.2911, allocations: 3.984 kB / 0.8305 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.2914, allocations: 59.94 kB / 0.8305 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.2918, allocations: 269 kB / 0.8308 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.292, allocations: 62.41 kB / 0.8308 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.2922, allocations: 40.92 kB / 0.8309 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.2922, allocations: 0 / 0.8309 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.2922, allocations: 38.55 kB / 0.8309 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.2922, allocations: 0 / 0.8309 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005562/0.2928, allocations: 129.4 kB / 0.831 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.2928, allocations: 51.41 kB / 0.8311 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.255e-05/0.293, allocations: 113.8 kB / 0.8312 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.293, allocations: 25.7 kB / 0.8312 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/0.293, allocations: 88.12 kB / 0.8313 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.2931, allocations: 11.84 kB / 0.8313 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.2931, allocations: 21.66 kB / 0.8313 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.2932, allocations: 310.8 kB / 0.8316 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.2934, allocations: 31.95 kB / 0.8316 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.2935, allocations: 35.97 kB / 0.8317 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.2938, allocations: 64.78 kB / 0.8317 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2938, allocations: 3.938 kB / 0.8317 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003095/0.2941, allocations: 105.5 kB / 0.8318 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.2941, allocations: 8 kB / 0.8319 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.2941, allocations: 0 / 0.8319 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.2942, allocations: 0 / 0.8319 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.2943, allocations: 15.97 kB / 0.8319 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.2943, allocations: 4 kB / 0.8319 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.588e-05/0.2944, allocations: 11.98 kB / 0.8319 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.2944, allocations: 8 kB / 0.8319 GB, free: 12.13 MB / 0.6544 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 7.415e-05/0.2945, allocations: 109.8 kB / 0.832 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.2945, allocations: 4 kB / 0.832 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003739/0.2949, allocations: 109.5 kB / 0.8321 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2949, allocations: 0 / 0.8321 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.2949, allocations: 4 kB / 0.8321 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2949, allocations: 7.984 kB / 0.8321 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.2951, allocations: 173.5 kB / 0.8323 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2951, allocations: 0 / 0.8323 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.494e-05/0.2952, allocations: 11.98 kB / 0.8323 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.2953, allocations: 0 / 0.8323 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.2953, allocations: 4 kB / 0.8323 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.2953, allocations: 0 / 0.8323 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2953, allocations: 3.938 kB / 0.8323 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003665/0.2957, allocations: 199.8 kB / 0.8325 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.2957, allocations: 81.14 kB / 0.8326 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.2957, allocations: 4 kB / 0.8326 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.2958, allocations: 7.984 kB / 0.8326 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.2959, allocations: 7.984 kB / 0.8326 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.2959, allocations: 8 kB / 0.8326 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.383e-05/0.296, allocations: 91.2 kB / 0.8327 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.296, allocations: 0 / 0.8327 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002108/0.2962, allocations: 7.906 kB / 0.8327 GB, free: 11.21 MB / 0.6544 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.0001471/0.2963, allocations: 107.2 kB / 0.8328 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000362/0.2967, allocations: 71.92 kB / 0.8329 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2967, allocations: 0 / 0.8329 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.2969, allocations: 31.97 kB / 0.8329 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000316/0.2972, allocations: 11.92 kB / 0.8329 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.2975, allocations: 129.4 kB / 0.833 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.2978, allocations: 0.6844 MB / 0.8337 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.048e-05/0.2978, allocations: 4 kB / 0.8337 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.2979, allocations: 7.438 kB / 0.8337 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.2979, allocations: 0 / 0.8337 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of Templates: time 0.002897/0.3008, allocations: 0.6808 MB / 0.8344 GB, free: 9.43 MB / 0.6544 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)