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.001142/0.001142, allocations: 106.8 kB / 15.99 MB, free: 5.91 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.001093/0.001093, allocations: 192.5 kB / 16.91 MB, free: 5.758 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.418/1.418, allocations: 205.1 MB / 222.8 MB, free: 4.555 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.724/1.724, allocations: 292.3 MB / 0.5492 GB, free: 13.64 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.001724/0.001724, allocations: 72.12 kB / 0.6717 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2524, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.002077/0.2546, allocations: 0.7671 MB / 0.7843 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009253/0.2555, allocations: 0.8282 MB / 0.7851 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.2556, allocations: 0 / 0.7851 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.2556, allocations: 0 / 0.7851 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.905e-05/0.2557, allocations: 11.92 kB / 0.7851 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.2558, allocations: 15.98 kB / 0.7851 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.436e-05/0.2559, allocations: 43.92 kB / 0.7852 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.2561, allocations: 11.98 kB / 0.7852 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.2e-05/0.2561, allocations: 23.86 kB / 0.7852 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.287e-05/0.2562, allocations: 19.92 kB / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.2562, allocations: 0 / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.329e-05/0.2562, allocations: 4 kB / 0.7852 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.019e-05/0.2562, allocations: 11.98 kB / 0.7852 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.921e-05/0.2563, allocations: 27.86 kB / 0.7852 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.91e-05/0.2564, allocations: 23.94 kB / 0.7853 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2564, allocations: 0 / 0.7853 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2564, allocations: 0 / 0.7853 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.2564, allocations: 0 / 0.7853 GB, free: 12.1 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.0005102/0.2569, allocations: 355.7 kB / 0.7856 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.257, allocations: 12.03 kB / 0.7856 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.257, allocations: 4.844 kB / 0.7856 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.2571, allocations: 180.2 kB / 0.7858 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.2572, allocations: 8.375 kB / 0.7858 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.2572, allocations: 4.312 kB / 0.7858 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.2574, allocations: 70.22 kB / 0.7859 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.2574, allocations: 192 / 0.7859 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.2575, allocations: 3.938 kB / 0.7859 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.2575, allocations: 0 / 0.7859 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002675/0.2577, allocations: 75.84 kB / 0.786 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003614/0.2581, allocations: 257 kB / 0.7862 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.2583, allocations: 58.48 kB / 0.7863 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.2585, allocations: 44.91 kB / 0.7863 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.2585, allocations: 0 / 0.7863 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.2585, allocations: 34.5 kB / 0.7863 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.2585, allocations: 0 / 0.7863 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005282/0.2591, allocations: 133.6 kB / 0.7865 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.2591, allocations: 55.34 kB / 0.7865 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.792e-05/0.2592, allocations: 109.8 kB / 0.7866 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.2592, allocations: 25.7 kB / 0.7866 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.2593, allocations: 92.03 kB / 0.7867 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.2593, allocations: 7.906 kB / 0.7867 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.2593, allocations: 21.72 kB / 0.7868 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.2594, allocations: 314.8 kB / 0.7871 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.2596, allocations: 27.97 kB / 0.7871 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.2597, allocations: 39.89 kB / 0.7871 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002482/0.26, allocations: 68.78 kB / 0.7872 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.26, allocations: 3.938 kB / 0.7872 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002899/0.2603, allocations: 93.62 kB / 0.7873 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.2603, allocations: 8 kB / 0.7873 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2603, allocations: 0 / 0.7873 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.2603, allocations: 0 / 0.7873 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.2605, allocations: 15.98 kB / 0.7873 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.2605, allocations: 4.312 kB / 0.7873 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.594e-05/0.2606, allocations: 15.88 kB / 0.7873 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.2606, allocations: 4 kB / 0.7873 GB, free: 9.766 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 7.998e-05/0.2607, allocations: 118.4 kB / 0.7874 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.2607, allocations: 4 kB / 0.7874 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003363/0.261, allocations: 105.5 kB / 0.7875 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.261, allocations: 4 kB / 0.7875 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2611, allocations: 0 / 0.7875 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.2611, allocations: 0 / 0.7875 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.2612, allocations: 173.5 kB / 0.7877 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2612, allocations: 0 / 0.7877 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.763e-05/0.2613, allocations: 15.97 kB / 0.7877 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2613, allocations: 4 kB / 0.7877 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.2614, allocations: 7.938 kB / 0.7877 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.2614, allocations: 7.984 kB / 0.7877 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2614, allocations: 0 / 0.7877 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.2617, allocations: 195.6 kB / 0.7879 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.2618, allocations: 93.12 kB / 0.788 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.2618, allocations: 4 kB / 0.788 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.2619, allocations: 7.984 kB / 0.788 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.2619, allocations: 7.938 kB / 0.788 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.2619, allocations: 0 / 0.788 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.153e-05/0.262, allocations: 91.27 kB / 0.7881 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.262, allocations: 0 / 0.7881 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002095/0.2622, allocations: 4 kB / 0.7881 GB, free: 8.836 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.000142/0.2624, allocations: 103.2 kB / 0.7882 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003268/0.2627, allocations: 71.86 kB / 0.7883 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2627, allocations: 0 / 0.7883 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.2629, allocations: 39.95 kB / 0.7883 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.2632, allocations: 15.17 kB / 0.7884 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.2635, allocations: 163.1 kB / 0.7885 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.2638, allocations: 0.6807 MB / 0.7892 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.2638, allocations: 11.44 kB / 0.7892 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2638, allocations: 0 / 0.7892 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of Templates: time 0.00195/0.2658, allocations: 0.7536 MB / 0.7899 GB, free: 6.941 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)