Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.678/2.678, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.001432/0.001432, allocations: 172.8 kB / 360.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.039/2.039, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.001115/0.001115, allocations: 87.11 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.035e-05/4.048e-05, allocations: 12 kB / 0.8509 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.851/0.8511, allocations: 115.3 MB / 0.9634 GB, free: 78.56 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2488/1.1, allocations: 136.7 MB / 1.097 GB, free: 3.84 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/1.1, allocations: 63.97 kB / 1.097 GB, free: 3.777 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003763/1.104, allocations: 0.8885 MB / 1.098 GB, free: 2.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.235e-06/1.104, allocations: 1.188 kB / 1.098 GB, free: 2.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.38e-05/1.104, allocations: 8 kB / 1.098 GB, free: 2.902 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.0006228/1.105, allocations: 363.7 kB / 1.098 GB, free: 2.508 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/1.105, allocations: 12.03 kB / 1.098 GB, free: 2.496 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/1.105, allocations: 5.734 kB / 1.098 GB, free: 2.492 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/1.105, allocations: 171 kB / 1.098 GB, free: 2.285 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/1.105, allocations: 0.625 kB / 1.098 GB, free: 2.285 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/1.105, allocations: 4.906 kB / 1.098 GB, free: 2.281 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001304/1.105, allocations: 16 kB / 1.098 GB, free: 2.266 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/1.105, allocations: 46.28 kB / 1.098 GB, free: 2.215 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/1.105, allocations: 0 / 1.098 GB, free: 2.215 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/1.106, allocations: 0.5312 kB / 1.098 GB, free: 2.215 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/1.106, allocations: 0 / 1.098 GB, free: 2.215 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007229/1.106, allocations: 288.9 kB / 1.099 GB, free: 1.898 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/1.106, allocations: 27.42 kB / 1.099 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.125e-05/1.106, allocations: 16.56 kB / 1.099 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.075e-05/1.107, allocations: 4.625 kB / 1.099 GB, free: 1.844 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/1.107, allocations: 35.38 kB / 1.099 GB, free: 1.801 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 2.184e-06/1.107, allocations: 1.938 kB / 1.099 GB, free: 1.801 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002496/1.107, allocations: 51.12 kB / 1.099 GB, free: 1.746 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/1.107, allocations: 51.41 kB / 1.099 GB, free: 1.684 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/1.107, allocations: 97 kB / 1.099 GB, free: 1.582 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/1.107, allocations: 28.67 kB / 1.099 GB, free: 1.551 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.291e-05/1.107, allocations: 92.12 kB / 1.099 GB, free: 1.457 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/1.107, allocations: 11.75 kB / 1.099 GB, free: 1.445 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/1.107, allocations: 0 / 1.099 GB, free: 1.445 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000153/1.107, allocations: 318.8 kB / 1.099 GB, free: 1.125 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.608e-05/1.107, allocations: 13.31 kB / 1.099 GB, free: 1.113 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.422e-05/1.107, allocations: 4 kB / 1.099 GB, free: 1.109 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.154e-05/1.107, allocations: 15.86 kB / 1.099 GB, free: 1.098 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/1.108, allocations: 0 / 1.099 GB, free: 1.098 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001359/1.108, allocations: 49.64 kB / 1.1 GB, free: 1.043 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/1.108, allocations: 8.625 kB / 1.1 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/1.108, allocations: 0 / 1.1 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/1.108, allocations: 3.938 kB / 1.1 GB, free: 1.031 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/1.108, allocations: 23.97 kB / 1.1 GB, free: 1.008 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/1.108, allocations: 0.9375 kB / 1.1 GB, free: 1.008 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/1.108, allocations: 19.98 kB / 1.1 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/1.108, allocations: 0 / 1.1 GB, free: 0.9883 MB / 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 8.697e-05/1.108, allocations: 108.7 kB / 1.1 GB, free: 0.875 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001412/1.108, allocations: 58.16 kB / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/1.108, allocations: 0.9375 kB / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001848/1.109, allocations: 67.59 kB / 1.1 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/1.109, allocations: 4 kB / 1.1 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/1.109, allocations: 0 / 1.1 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/1.109, allocations: 3.188 kB / 1.1 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/1.109, allocations: 146.2 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.109, allocations: 0 / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/1.109, allocations: 19.98 kB / 1.1 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/1.109, allocations: 0 / 1.1 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/1.109, allocations: 0 / 1.1 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/1.109, allocations: 7.281 kB / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/1.109, allocations: 3.984 kB / 1.1 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/1.109, allocations: 151.4 kB / 1.1 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/1.11, allocations: 81.09 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/1.11, allocations: 3.938 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/1.11, allocations: 19.98 kB / 1.1 GB, free: 248 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/1.11, allocations: 9.109 kB / 1.1 GB, free: 240 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/1.11, allocations: 0 / 1.1 GB, free: 240 kB / 0.698 GB Notification: Performance of sorting global known variables: time 5.918e-05/1.11, allocations: 86.48 kB / 1.1 GB, free: 156 kB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.11, allocations: 0 / 1.1 GB, free: 156 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002934/1.11, allocations: 8 kB / 1.1 GB, free: 148 kB / 0.698 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.0006365/1.111, allocations: 0.6838 MB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001454/1.111, allocations: 20 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/1.111, allocations: 7.938 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.5e-05/1.111, allocations: 11.98 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/1.111, allocations: 6.062 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004866/1.112, allocations: 99.94 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/1.112, allocations: 0.6885 MB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.127e-05/1.112, allocations: 4 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.916e-05/1.112, allocations: 11.44 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of SimCode: time 9.42e-07/1.112, allocations: 0 / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03919/1.152, allocations: 0.9599 MB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003665/1.152, allocations: 147.7 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.253/3.405, allocations: 3.094 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1)