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.001352/0.001352, 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.001419/0.00142, allocations: 189.9 kB / 16.25 MB, free: 6.629 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.55/1.55, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.876/2.876, allocations: 472.6 MB / 0.7448 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 73.08 kB / 0.9116 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3809, allocations: 159.9 MB / 1.068 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.00223/0.3831, allocations: 0.7633 MB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009458/0.3841, allocations: 0.8351 MB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.257e-05/0.3842, allocations: 0 / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.506e-05/0.3842, allocations: 0 / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.239e-05/0.3843, allocations: 7.922 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.3845, allocations: 19.98 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.134e-05/0.3846, allocations: 39.86 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.3847, allocations: 19.92 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.114e-05/0.3848, allocations: 19.92 kB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.005e-05/0.3848, allocations: 19.92 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.3849, allocations: 4 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.486e-05/0.3849, allocations: 4 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/0.3849, allocations: 11.98 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.385, allocations: 15.86 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.748e-05/0.3851, allocations: 35.88 kB / 1.069 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.3851, allocations: 4 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3851, allocations: 0 / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3851, allocations: 0 / 1.069 GB, free: 8.91 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.0005664/0.3857, allocations: 369.4 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3857, allocations: 8.031 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.3858, allocations: 4.844 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.3859, allocations: 168.3 kB / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.3859, allocations: 384 / 1.07 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.3859, allocations: 8.312 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.3862, allocations: 74.16 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3862, allocations: 192 / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.3862, allocations: 7.922 kB / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3862, allocations: 0 / 1.07 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002841/0.3865, allocations: 63.92 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.3869, allocations: 272.9 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.3871, allocations: 62.41 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.3873, allocations: 36.92 kB / 1.07 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.3873, allocations: 3.984 kB / 1.07 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.3873, allocations: 38.55 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.432e-06/0.3874, allocations: 4 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005346/0.3879, allocations: 121.6 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.3879, allocations: 51.41 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.014e-05/0.388, allocations: 113.8 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.388, allocations: 25.7 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.854e-05/0.3881, allocations: 96.03 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.3881, allocations: 3.906 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.3882, allocations: 25.59 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.3883, allocations: 310.8 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.3884, allocations: 35.95 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.3886, allocations: 31.97 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.3889, allocations: 68.78 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.3889, allocations: 7.938 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003128/0.3892, allocations: 97.62 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3892, allocations: 4 kB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3892, allocations: 0 / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3892, allocations: 0 / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.3894, allocations: 27.91 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3894, allocations: 0 / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.885e-05/0.3895, allocations: 11.98 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.3895, allocations: 0 / 1.072 GB, free: 6.574 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 7.894e-05/0.3896, allocations: 113.8 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.3896, allocations: 7.906 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003486/0.39, allocations: 105.5 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.39, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.39, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.39, allocations: 7.984 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.3902, allocations: 173.5 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.3902, allocations: 0 / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.655e-05/0.3903, allocations: 15.98 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3903, allocations: 384 / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.3903, allocations: 7.875 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3903, allocations: 0 / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3903, allocations: 0 / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.3907, allocations: 203.4 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.3907, allocations: 85.02 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.3907, allocations: 0 / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.3908, allocations: 11.98 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.3909, allocations: 7.984 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.3909, allocations: 0 / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.365e-05/0.3909, allocations: 91.27 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.391, allocations: 0 / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002257/0.3912, allocations: 12 kB / 1.072 GB, free: 5.641 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.0001412/0.3913, allocations: 99.19 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003252/0.3917, allocations: 71.86 kB / 1.072 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3917, allocations: 4 kB / 1.072 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.3918, allocations: 31.97 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.3921, allocations: 15.92 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003032/0.3924, allocations: 141.9 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.3927, allocations: 0.6807 MB / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.567e-05/0.3927, allocations: 7.984 kB / 1.073 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.867e-05/0.3928, allocations: 11.38 kB / 1.073 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.3928, allocations: 0 / 1.073 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of Templates: time 0.002543/0.3953, allocations: 0.5754 MB / 1.074 GB, free: 3.957 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)