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.001076/0.001076, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001173/0.001173, allocations: 193.5 kB / 16.14 MB, free: 6.703 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.477/1.477, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.031/3.031, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 77.28 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3857, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002576/0.3883, allocations: 0.7633 MB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.3895, allocations: 0.8312 MB / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.703e-05/0.3897, allocations: 0 / 1.069 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.691e-05/0.3898, allocations: 3.938 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.3899, allocations: 11.94 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.3902, allocations: 19.97 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.3904, allocations: 39.86 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.3906, allocations: 15.98 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.3908, allocations: 11.94 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.757e-05/0.3909, allocations: 19.91 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.3909, allocations: 4 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.561e-05/0.391, allocations: 4 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.658e-05/0.391, allocations: 7.938 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.478e-05/0.3911, allocations: 23.86 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.3913, allocations: 39.86 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.439e-05/0.3913, allocations: 0 / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3913, allocations: 0 / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.3913, allocations: 0 / 1.069 GB, free: 9.062 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.0009984/0.3923, allocations: 357.4 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 7.434e-05/0.3924, allocations: 8.031 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.468e-05/0.3925, allocations: 12.83 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.3928, allocations: 168.3 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.3928, allocations: 4.375 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.3929, allocations: 4.375 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003958/0.3933, allocations: 62.22 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3933, allocations: 192 / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.3933, allocations: 11.94 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.3934, allocations: 0 / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003519/0.3937, allocations: 71.86 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007428/0.3945, allocations: 264.8 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.3948, allocations: 66.47 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.395, allocations: 32.92 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.423e-05/0.395, allocations: 0 / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.336e-05/0.3951, allocations: 34.56 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 4.459e-06/0.3951, allocations: 7.922 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0007265/0.3958, allocations: 129.6 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.984e-05/0.3959, allocations: 51.41 kB / 1.071 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.3961, allocations: 117.8 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.3962, allocations: 25.7 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.376e-05/0.3963, allocations: 88.05 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.3963, allocations: 7.891 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.533e-05/0.3964, allocations: 17.72 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0003086/0.3967, allocations: 314.8 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.3969, allocations: 39.89 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.3971, allocations: 27.97 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.3974, allocations: 76.72 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.3974, allocations: 3.938 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000395/0.3978, allocations: 93.62 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.3979, allocations: 4 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.3979, allocations: 0 / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.3979, allocations: 0 / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.3981, allocations: 23.97 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.3981, allocations: 0 / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.857e-05/0.3983, allocations: 11.98 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.3983, allocations: 0 / 1.071 GB, free: 6.742 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 0.0001813/0.3985, allocations: 117.8 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.3985, allocations: 3.906 kB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004851/0.399, allocations: 117.5 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.399, allocations: 0 / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.399, allocations: 0 / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.399, allocations: 0 / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003754/0.3994, allocations: 177.5 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3994, allocations: 0 / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.3996, allocations: 19.98 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.3996, allocations: 0 / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.3996, allocations: 4 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.3996, allocations: 0 / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3996, allocations: 0 / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005806/0.4002, allocations: 199.3 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.4003, allocations: 81.02 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.4004, allocations: 4 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.4005, allocations: 19.92 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.907e-05/0.4006, allocations: 4.406 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/0.4006, allocations: 4 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.752e-05/0.4007, allocations: 83.28 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4007, allocations: 0 / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002943/0.401, allocations: 11.98 kB / 1.072 GB, free: 5.805 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.0003097/0.4014, allocations: 99.25 kB / 1.072 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003829/0.4018, allocations: 71.91 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.4018, allocations: 3.938 kB / 1.072 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.4019, allocations: 35.91 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005445/0.4025, allocations: 19.92 kB / 1.072 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004957/0.403, allocations: 135.7 kB / 1.072 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/0.4034, allocations: 0.677 MB / 1.073 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.145e-05/0.4035, allocations: 4 kB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.4035, allocations: 15.42 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.4035, allocations: 0 / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of Templates: time 0.003335/0.4069, allocations: 0.5487 MB / 1.074 GB, free: 4.148 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)