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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.659/1.659, allocations: 289.7 MB / 302.3 MB, free: 2.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 183.3 kB / 371.6 MB, free: 3.359 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009422/0.000942, allocations: 94.66 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.013e-05/5.016e-05, allocations: 8 kB / 0.8663 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.318, allocations: 116.3 MB / 0.9798 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9544/1.272, allocations: 138.5 MB / 1.115 GB, free: 45.04 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/1.273, allocations: 66.53 kB / 1.115 GB, free: 45.01 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002386/1.275, allocations: 0.8946 MB / 1.116 GB, free: 44.38 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.505e-06/1.275, allocations: 2.062 kB / 1.116 GB, free: 44.38 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.043e-06/1.275, allocations: 4 kB / 1.116 GB, free: 44.38 MB / 0.7448 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.0003898/1.276, allocations: 365.6 kB / 1.116 GB, free: 44 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/1.276, allocations: 12.03 kB / 1.116 GB, free: 43.99 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/1.276, allocations: 4.062 kB / 1.116 GB, free: 43.99 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001048/1.276, allocations: 163.1 kB / 1.117 GB, free: 43.79 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/1.276, allocations: 0 / 1.117 GB, free: 43.79 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/1.276, allocations: 8.156 kB / 1.117 GB, free: 43.79 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/1.276, allocations: 43.98 kB / 1.117 GB, free: 43.75 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/1.276, allocations: 0.8125 kB / 1.117 GB, free: 43.75 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/1.276, allocations: 0 / 1.117 GB, free: 43.75 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/1.276, allocations: 4 kB / 1.117 GB, free: 43.75 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.843e-05/1.276, allocations: 22.88 kB / 1.117 GB, free: 43.73 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004843/1.277, allocations: 301.7 kB / 1.117 GB, free: 43.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.377e-05/1.277, allocations: 38.59 kB / 1.117 GB, free: 43.39 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.478e-05/1.277, allocations: 15.67 kB / 1.117 GB, free: 43.38 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/1.277, allocations: 0 / 1.117 GB, free: 43.38 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/1.277, allocations: 34.5 kB / 1.117 GB, free: 43.33 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 2.155e-06/1.277, allocations: 0.7969 kB / 1.117 GB, free: 43.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001667/1.277, allocations: 52.17 kB / 1.117 GB, free: 43.29 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/1.277, allocations: 55.41 kB / 1.117 GB, free: 43.22 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.728e-05/1.277, allocations: 105.5 kB / 1.117 GB, free: 43.12 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/1.277, allocations: 25.7 kB / 1.117 GB, free: 43.09 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.192e-05/1.277, allocations: 86.75 kB / 1.117 GB, free: 43 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/1.277, allocations: 19 kB / 1.117 GB, free: 42.99 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/1.277, allocations: 1.031 kB / 1.117 GB, free: 42.99 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.084e-05/1.277, allocations: 318.3 kB / 1.118 GB, free: 42.67 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.507e-05/1.277, allocations: 11.5 kB / 1.118 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.794e-05/1.277, allocations: 7.812 kB / 1.118 GB, free: 42.66 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.66e-05/1.277, allocations: 13.7 kB / 1.118 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.277, allocations: 0 / 1.118 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.816e-05/1.277, allocations: 56.28 kB / 1.118 GB, free: 42.6 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/1.277, allocations: 4 kB / 1.118 GB, free: 42.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/1.277, allocations: 0.5 kB / 1.118 GB, free: 42.6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/1.277, allocations: 0 / 1.118 GB, free: 42.6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/1.278, allocations: 22.8 kB / 1.118 GB, free: 42.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/1.278, allocations: 0.6562 kB / 1.118 GB, free: 42.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.851e-05/1.278, allocations: 20.56 kB / 1.118 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.718e-06/1.278, allocations: 4 kB / 1.118 GB, free: 42.56 MB / 0.7448 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.198e-05/1.278, allocations: 110.5 kB / 1.118 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/1.278, allocations: 3.906 kB / 1.118 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/1.278, allocations: 63.55 kB / 1.118 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/1.278, allocations: 0 / 1.118 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/1.278, allocations: 0.75 kB / 1.118 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/1.278, allocations: 4 kB / 1.118 GB, free: 42.39 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/1.278, allocations: 174.9 kB / 1.118 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.278, allocations: 1.125 kB / 1.118 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.704e-05/1.278, allocations: 26.66 kB / 1.118 GB, free: 42.17 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-06/1.278, allocations: 0 / 1.118 GB, free: 42.17 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/1.278, allocations: 0 / 1.118 GB, free: 42.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/1.278, allocations: 4 kB / 1.118 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.278, allocations: 0.5625 kB / 1.118 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/1.278, allocations: 160.9 kB / 1.118 GB, free: 42.01 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.565e-05/1.278, allocations: 81.02 kB / 1.118 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/1.278, allocations: 0 / 1.118 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/1.279, allocations: 19.95 kB / 1.118 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.531e-05/1.279, allocations: 10.91 kB / 1.118 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/1.279, allocations: 4.75 kB / 1.118 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.044e-05/1.279, allocations: 84.69 kB / 1.118 GB, free: 41.81 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.279, allocations: 0 / 1.118 GB, free: 41.81 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000208/1.279, allocations: 7.75 kB / 1.118 GB, free: 41.8 MB / 0.7448 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001402/1.279, allocations: 99.25 kB / 1.119 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001007/1.279, allocations: 22.39 kB / 1.119 GB, free: 41.69 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.279, allocations: 0 / 1.119 GB, free: 41.69 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.38e-05/1.279, allocations: 20.11 kB / 1.119 GB, free: 41.67 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/1.279, allocations: 12.42 kB / 1.119 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002161/1.28, allocations: 69.97 kB / 1.119 GB, free: 41.59 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/1.28, allocations: 0.6875 MB / 1.119 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.191e-05/1.28, allocations: 0.8438 kB / 1.119 GB, free: 40.88 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.822e-05/1.28, allocations: 14.39 kB / 1.119 GB, free: 40.87 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/1.28, allocations: 0 / 1.119 GB, free: 40.87 MB / 0.7448 GB Notification: Performance of Templates: time 0.00236/1.282, allocations: 0.529 MB / 1.12 GB, free: 40.59 MB / 0.7448 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)