Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_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.001195/0.001195, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 197.5 kB / 16.64 MB, free: 6.453 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.496/1.496, allocations: 205.1 MB / 222.5 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.818/1.818, allocations: 292.3 MB / 0.549 GB, free: 12.78 MB / 462.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.001516/0.001517, allocations: 73.33 kB / 0.6723 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2798, allocations: 114.6 MB / 0.7842 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.002174/0.282, allocations: 0.7059 MB / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008052/0.2828, allocations: 0.8243 MB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.225e-05/0.2829, allocations: 4 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.582e-05/0.2829, allocations: 3.938 kB / 0.7857 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.979e-05/0.283, allocations: 7.922 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001377/0.2831, allocations: 15.98 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.395e-05/0.2832, allocations: 43.84 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.712e-05/0.2833, allocations: 12 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.509e-05/0.2834, allocations: 15.92 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.823e-05/0.2834, allocations: 23.92 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.2834, allocations: 4 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.212e-05/0.2835, allocations: 4 kB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.2835, allocations: 15.92 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.2835, allocations: 19.91 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.969e-05/0.2836, allocations: 39.88 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2836, allocations: 4 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2836, allocations: 0 / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.2836, allocations: 0 / 0.7858 GB, free: 10.97 MB / 0.6075 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.0005274/0.2842, allocations: 359.4 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2842, allocations: 11.97 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.2843, allocations: 4.844 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.2844, allocations: 176.2 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.2844, allocations: 4.312 kB / 0.7864 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.2844, allocations: 4.375 kB / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.2847, allocations: 70.2 kB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.2847, allocations: 192 / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.2847, allocations: 7.938 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.2847, allocations: 4 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.285, allocations: 59.92 kB / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.2854, allocations: 265 kB / 0.7868 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.2856, allocations: 62.42 kB / 0.7868 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.2857, allocations: 40.91 kB / 0.7869 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.2858, allocations: 0 / 0.7869 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.2858, allocations: 30.56 kB / 0.7869 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.2858, allocations: 4 kB / 0.7869 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005258/0.2863, allocations: 129.6 kB / 0.787 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.2864, allocations: 55.34 kB / 0.7871 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.152e-05/0.2865, allocations: 117.8 kB / 0.7872 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.2865, allocations: 29.64 kB / 0.7872 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.37e-05/0.2865, allocations: 88.05 kB / 0.7873 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.2866, allocations: 11.91 kB / 0.7873 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.2866, allocations: 17.7 kB / 0.7873 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.2867, allocations: 314.8 kB / 0.7876 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.2869, allocations: 31.97 kB / 0.7877 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.287, allocations: 31.95 kB / 0.7877 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.2873, allocations: 72.78 kB / 0.7878 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2873, allocations: 3.938 kB / 0.7878 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003161/0.2876, allocations: 97.56 kB / 0.7879 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.2876, allocations: 4 kB / 0.7879 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2877, allocations: 4 kB / 0.7879 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.2877, allocations: 0 / 0.7879 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.2878, allocations: 19.98 kB / 0.7879 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.2878, allocations: 0 / 0.7879 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.981e-05/0.2879, allocations: 19.88 kB / 0.7879 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-06/0.2879, allocations: 0 / 0.7879 GB, free: 8.633 MB / 0.6075 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 6.819e-05/0.288, allocations: 122.4 kB / 0.788 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.288, allocations: 4 kB / 0.788 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003442/0.2884, allocations: 105.5 kB / 0.7881 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2884, allocations: 0 / 0.7881 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2884, allocations: 3.938 kB / 0.7881 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.2884, allocations: 384 / 0.7881 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.2885, allocations: 169.5 kB / 0.7883 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2886, allocations: 0 / 0.7883 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.228e-05/0.2887, allocations: 23.97 kB / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2887, allocations: 0 / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.2887, allocations: 7.984 kB / 0.7883 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2887, allocations: 0 / 0.7883 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2887, allocations: 0 / 0.7883 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.289, allocations: 199.3 kB / 0.7885 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.2891, allocations: 81.11 kB / 0.7886 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.2891, allocations: 0 / 0.7886 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.2892, allocations: 15.98 kB / 0.7886 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.2893, allocations: 0 / 0.7886 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.2893, allocations: 3.984 kB / 0.7886 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.085e-05/0.2893, allocations: 87.28 kB / 0.7887 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2893, allocations: 3.938 kB / 0.7887 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002207/0.2895, allocations: 8 kB / 0.7887 GB, free: 7.711 MB / 0.6075 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.0001076/0.2897, allocations: 99.25 kB / 0.7888 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003344/0.29, allocations: 67.92 kB / 0.7889 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.29, allocations: 0 / 0.7889 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.2902, allocations: 43.89 kB / 0.7889 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.2905, allocations: 11.94 kB / 0.7889 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002842/0.2908, allocations: 129.3 kB / 0.789 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.291, allocations: 0.6807 MB / 0.7897 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.999e-05/0.291, allocations: 0 / 0.7897 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.885e-05/0.2911, allocations: 11.44 kB / 0.7897 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.2911, allocations: 4 kB / 0.7897 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of Templates: time 0.002747/0.2938, allocations: 0.6782 MB / 0.7904 GB, free: 5.938 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1)