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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.694/1.694, allocations: 293 MB / 309 MB, free: 4.754 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.001783/0.001783, allocations: 187.1 kB / 378.7 MB, free: 0.9844 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.587/1.587, allocations: 205.4 MB / 0.6383 GB, free: 9.148 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.0008778/0.0008778, allocations: 99.86 kB / 0.7527 GB, free: 62.1 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004877/0.0004877, allocations: 16 kB / 0.8768 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2636, allocations: 116.4 MB / 0.9905 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.727/0.9906, allocations: 138.6 MB / 1.126 GB, free: 35.12 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.9908, allocations: 70.31 kB / 1.126 GB, free: 35.06 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002202/0.993, allocations: 0.898 MB / 1.127 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9931, allocations: 0.6562 kB / 1.127 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.9931, allocations: 4 kB / 1.127 GB, free: 34.36 MB / 0.7292 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.0003736/0.9935, allocations: 369.6 kB / 1.127 GB, free: 33.97 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.9935, allocations: 12.03 kB / 1.127 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.9935, allocations: 2.438 kB / 1.127 GB, free: 33.96 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.199e-05/0.9936, allocations: 171.5 kB / 1.127 GB, free: 33.75 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.9937, allocations: 384 / 1.127 GB, free: 33.75 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.9937, allocations: 5.875 kB / 1.127 GB, free: 33.75 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.9939, allocations: 80.7 kB / 1.127 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.9939, allocations: 3.609 kB / 1.127 GB, free: 33.68 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.9939, allocations: 8.438 kB / 1.127 GB, free: 33.67 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.9939, allocations: 0 / 1.127 GB, free: 33.67 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.9942, allocations: 82.81 kB / 1.128 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.9946, allocations: 305.8 kB / 1.128 GB, free: 33.28 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.9948, allocations: 78.08 kB / 1.128 GB, free: 33.21 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.9949, allocations: 47.59 kB / 1.128 GB, free: 33.17 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.995, allocations: 4 kB / 1.128 GB, free: 33.16 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.995, allocations: 31.06 kB / 1.128 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.995, allocations: 0 / 1.128 GB, free: 33.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0004667/0.9955, allocations: 165.3 kB / 1.128 GB, free: 32.99 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/0.9955, allocations: 55.41 kB / 1.128 GB, free: 32.92 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.186e-05/0.9956, allocations: 106.9 kB / 1.128 GB, free: 32.81 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.9956, allocations: 29.7 kB / 1.128 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.898e-05/0.9956, allocations: 91.64 kB / 1.128 GB, free: 32.69 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.9956, allocations: 11.84 kB / 1.128 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.9956, allocations: 3.719 kB / 1.128 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.039e-05/0.9957, allocations: 314.8 kB / 1.129 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.9958, allocations: 42.36 kB / 1.129 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.9959, allocations: 42.17 kB / 1.129 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.9962, allocations: 94.38 kB / 1.129 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.9962, allocations: 7.938 kB / 1.129 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002792/0.9965, allocations: 122.9 kB / 1.129 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.9965, allocations: 4.844 kB / 1.129 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.9965, allocations: 0 / 1.129 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.9965, allocations: 0 / 1.129 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.9966, allocations: 28.2 kB / 1.129 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.9967, allocations: 0.5469 kB / 1.129 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.719e-05/0.9967, allocations: 22.89 kB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.9968, allocations: 0.7969 kB / 1.129 GB, free: 32.07 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.264e-05/0.9968, allocations: 117.8 kB / 1.129 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.224e-05/0.9968, allocations: 0 / 1.129 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003054/0.9971, allocations: 134 kB / 1.129 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.9972, allocations: 0 / 1.129 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.9972, allocations: 0.625 kB / 1.129 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.9972, allocations: 0.5156 kB / 1.129 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.9973, allocations: 175.8 kB / 1.129 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.9973, allocations: 0 / 1.129 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.278e-05/0.9974, allocations: 23.67 kB / 1.129 GB, free: 31.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.9974, allocations: 3.938 kB / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.9974, allocations: 0 / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.9974, allocations: 4 kB / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.9974, allocations: 0.8438 kB / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002907/0.9977, allocations: 221 kB / 1.13 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.193e-05/0.9978, allocations: 84.44 kB / 1.13 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.9978, allocations: 0.625 kB / 1.13 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.9979, allocations: 16.69 kB / 1.13 GB, free: 31.27 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.9979, allocations: 11.42 kB / 1.13 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.998, allocations: 0 / 1.13 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.145e-05/0.998, allocations: 83.42 kB / 1.13 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.998, allocations: 8.656 kB / 1.13 GB, free: 31.18 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002007/0.9982, allocations: 9.031 kB / 1.13 GB, free: 31.17 MB / 0.7292 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 (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.0001163/0.9983, allocations: 99.25 kB / 1.13 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002934/0.9986, allocations: 92.89 kB / 1.13 GB, free: 30.99 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.9986, allocations: 0 / 1.13 GB, free: 30.99 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.9988, allocations: 46.94 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.9991, allocations: 19.39 kB / 1.13 GB, free: 30.94 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002757/0.9993, allocations: 124.8 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.9995, allocations: 0.6845 MB / 1.131 GB, free: 30.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.005e-05/0.9995, allocations: 4 kB / 1.131 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.9995, allocations: 11.44 kB / 1.131 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.9995, allocations: 0 / 1.131 GB, free: 30.09 MB / 0.7292 GB Notification: Performance of Templates: time 0.002267/1.002, allocations: 0.5292 MB / 1.131 GB, free: 29.79 MB / 0.7292 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)