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.644/1.644, allocations: 289.9 MB / 297.4 MB, free: 6.359 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.001239/0.001239, allocations: 176.8 kB / 366.7 MB, free: 1.672 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.703/1.703, allocations: 205.2 MB / 0.626 GB, free: 7.188 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.0008245/0.0008245, allocations: 88.72 kB / 0.74 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.619e-05/2.621e-05, allocations: 12 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5958/0.5958, allocations: 116.3 MB / 0.9733 GB, free: 76.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1682/0.7641, allocations: 137.8 MB / 1.108 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/0.7644, allocations: 72.83 kB / 1.108 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002437/0.7668, allocations: 0.8897 MB / 1.109 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.292e-06/0.7669, allocations: 0 / 1.109 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.7669, allocations: 0.6562 kB / 1.109 GB, free: 11.46 MB / 0.7136 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.0003966/0.7673, allocations: 361.4 kB / 1.109 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.7673, allocations: 8.031 kB / 1.109 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.7674, allocations: 13.41 kB / 1.109 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.7675, allocations: 167 kB / 1.109 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.7675, allocations: 7.828 kB / 1.109 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/0.7675, allocations: 0.5 kB / 1.109 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.79e-05/0.7676, allocations: 12.53 kB / 1.109 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.415e-05/0.7677, allocations: 50.28 kB / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.974e-06/0.7677, allocations: 0.875 kB / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-06/0.7677, allocations: 0 / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.7677, allocations: 5.203 kB / 1.109 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.7682, allocations: 286.2 kB / 1.11 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.266e-05/0.7683, allocations: 30.58 kB / 1.11 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.345e-05/0.7683, allocations: 16.86 kB / 1.11 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.7684, allocations: 2.688 kB / 1.11 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.7684, allocations: 30.56 kB / 1.11 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.7684, allocations: 0 / 1.11 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001582/0.7685, allocations: 45.78 kB / 1.11 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.7686, allocations: 59.41 kB / 1.11 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.134e-05/0.7687, allocations: 98.22 kB / 1.11 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.7687, allocations: 29.7 kB / 1.11 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.184e-05/0.7687, allocations: 84.12 kB / 1.11 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.7688, allocations: 17.06 kB / 1.11 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/0.7688, allocations: 3.094 kB / 1.11 GB, free: 9.996 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.7689, allocations: 318.8 kB / 1.11 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.095e-05/0.7689, allocations: 8.938 kB / 1.11 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.827e-05/0.7689, allocations: 8 kB / 1.11 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.255e-05/0.769, allocations: 9.172 kB / 1.11 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.769, allocations: 0 / 1.11 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.861e-05/0.7691, allocations: 49.7 kB / 1.11 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.7691, allocations: 8.703 kB / 1.11 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.7691, allocations: 0 / 1.11 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/0.7691, allocations: 1.906 kB / 1.11 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.7692, allocations: 19.98 kB / 1.11 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.7693, allocations: 4 kB / 1.11 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.413e-05/0.7694, allocations: 15.98 kB / 1.111 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.7694, allocations: 0 / 1.111 GB, free: 9.551 MB / 0.7136 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 6.017e-05/0.7694, allocations: 114.9 kB / 1.111 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.554e-05/0.7695, allocations: 3.906 kB / 1.111 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001248/0.7696, allocations: 64.97 kB / 1.111 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.7696, allocations: 8 kB / 1.111 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.7696, allocations: 0 / 1.111 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.7696, allocations: 0 / 1.111 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.7698, allocations: 142.2 kB / 1.111 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.7698, allocations: 4 kB / 1.111 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.7699, allocations: 26.23 kB / 1.111 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.7699, allocations: 4 kB / 1.111 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.7699, allocations: 0 / 1.111 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.7699, allocations: 0 / 1.111 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7699, allocations: 4 kB / 1.111 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.77, allocations: 147.5 kB / 1.111 GB, free: 8.977 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.7701, allocations: 81.3 kB / 1.111 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.7701, allocations: 3.953 kB / 1.111 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.7702, allocations: 15.98 kB / 1.111 GB, free: 8.859 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.039e-05/0.7703, allocations: 19.97 kB / 1.111 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.7703, allocations: 0 / 1.111 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.408e-05/0.7703, allocations: 82.66 kB / 1.111 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7703, allocations: 0 / 1.111 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001961/0.7705, allocations: 8 kB / 1.111 GB, free: 8.754 MB / 0.7136 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.0001243/0.7707, allocations: 99.23 kB / 1.111 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.512e-05/0.7708, allocations: 24 kB / 1.111 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.7708, allocations: 0 / 1.111 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.997e-05/0.7708, allocations: 19.94 kB / 1.111 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.771, allocations: 4 kB / 1.111 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001908/0.7712, allocations: 76.73 kB / 1.111 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.7714, allocations: 0.6846 MB / 1.112 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.708e-05/0.7715, allocations: 0 / 1.112 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.7715, allocations: 11.44 kB / 1.112 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.7715, allocations: 4 kB / 1.112 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of Templates: time 0.00198/0.7735, allocations: 489.8 kB / 1.113 GB, free: 7.336 MB / 0.7136 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)