Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.835/1.835, allocations: 285.6 MB / 293.1 MB, free: 10.21 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.0009875/0.0009875, allocations: 172.9 kB / 361.4 MB, free: 6.836 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.955/1.955, allocations: 205.2 MB / 0.62 GB, free: 11.7 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.0009691/0.0009694, allocations: 92.2 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.92e-05/2.933e-05, allocations: 12 kB / 0.8519 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124/1.124, allocations: 115.3 MB / 0.9645 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2741/1.398, allocations: 136.9 MB / 1.098 GB, free: 2.902 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003252/1.399, allocations: 74.27 kB / 1.098 GB, free: 2.832 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002874/1.402, allocations: 0.8845 MB / 1.099 GB, free: 1.969 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.264e-06/1.402, allocations: 0 / 1.099 GB, free: 1.969 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.947e-06/1.402, allocations: 0.7188 kB / 1.099 GB, free: 1.969 MB / 0.698 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.0005462/1.402, allocations: 371.6 kB / 1.099 GB, free: 1.566 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.166e-05/1.402, allocations: 8.031 kB / 1.099 GB, free: 1.559 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/1.402, allocations: 9.469 kB / 1.099 GB, free: 1.551 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/1.403, allocations: 169.2 kB / 1.1 GB, free: 1.348 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/1.403, allocations: 4 kB / 1.1 GB, free: 1.344 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/1.403, allocations: 0.5938 kB / 1.1 GB, free: 1.344 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001059/1.403, allocations: 20.55 kB / 1.1 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/1.403, allocations: 46.8 kB / 1.1 GB, free: 1.277 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/1.403, allocations: 4 kB / 1.1 GB, free: 1.273 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/1.403, allocations: 0 / 1.1 GB, free: 1.273 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/1.403, allocations: 0.6875 kB / 1.1 GB, free: 1.273 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006233/1.404, allocations: 285.1 kB / 1.1 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.499e-05/1.404, allocations: 26.58 kB / 1.1 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.842e-05/1.404, allocations: 17.45 kB / 1.1 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/1.404, allocations: 7.141 kB / 1.1 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/1.404, allocations: 39.09 kB / 1.1 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.785e-06/1.404, allocations: 0.6562 kB / 1.1 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002055/1.404, allocations: 45.64 kB / 1.1 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.536e-05/1.404, allocations: 51.41 kB / 1.1 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/1.404, allocations: 101 kB / 1.1 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/1.404, allocations: 26.58 kB / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.541e-05/1.404, allocations: 88.14 kB / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/1.404, allocations: 13.38 kB / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/1.404, allocations: 0 / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002551/1.405, allocations: 326.8 kB / 1.101 GB, free: 184 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.694e-05/1.405, allocations: 9 kB / 1.101 GB, free: 176 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.078e-05/1.405, allocations: 4 kB / 1.101 GB, free: 172 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.996e-05/1.405, allocations: 11.64 kB / 1.101 GB, free: 164 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/1.405, allocations: 0 / 1.101 GB, free: 164 kB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.989e-05/1.405, allocations: 57.62 kB / 1.101 GB, free: 100 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/1.405, allocations: 4 kB / 1.101 GB, free: 96 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/1.405, allocations: 0 / 1.101 GB, free: 96 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/1.405, allocations: 4 kB / 1.101 GB, free: 92 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/1.405, allocations: 23.81 kB / 1.101 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/1.405, allocations: 0 / 1.101 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/1.405, allocations: 19.97 kB / 1.101 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/1.405, allocations: 0 / 1.101 GB, free: 52 kB / 0.698 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 0.0001419/1.405, allocations: 112.9 kB / 1.101 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.69e-05/1.405, allocations: 53.59 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.349e-05/1.406, allocations: 4 kB / 1.101 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/1.406, allocations: 59.19 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/1.406, allocations: 0 / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.406, allocations: 1.406 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/1.406, allocations: 0 / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/1.406, allocations: 146.2 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/1.406, allocations: 3.984 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/1.406, allocations: 26.11 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/1.406, allocations: 0 / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/1.406, allocations: 0 / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/1.406, allocations: 0 / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.406, allocations: 1.797 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/1.406, allocations: 151.4 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.868e-05/1.406, allocations: 77.11 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/1.406, allocations: 8.844 kB / 1.101 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/1.406, allocations: 23.92 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/1.407, allocations: 3.984 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/1.407, allocations: 0.5625 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.632e-05/1.407, allocations: 87.28 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.407, allocations: 0 / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002138/1.407, allocations: 4 kB / 1.101 GB, free: 15.21 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.0005574/1.407, allocations: 0.6953 MB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001099/1.408, allocations: 20.94 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.408, allocations: 3.188 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.591e-05/1.408, allocations: 15.94 kB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/1.408, allocations: 8 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003994/1.408, allocations: 103.9 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/1.409, allocations: 0.6846 MB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.182e-05/1.409, allocations: 0 / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/1.409, allocations: 15.44 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/1.409, allocations: 0 / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/1.431, allocations: 0.9665 MB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002794/1.431, allocations: 153.2 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/3.468, allocations: 0 / 1.104 GB, free: 12.48 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1)