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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.71/1.71, allocations: 289.7 MB / 302.3 MB, free: 2.066 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.001429/0.001429, allocations: 182.1 kB / 371.6 MB, free: 3.344 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.977/1.977, allocations: 205.1 MB / 0.6309 GB, free: 11.71 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.0008828/0.0008829, allocations: 95.48 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.659e-05/4.681e-05, allocations: 4 kB / 0.8663 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2668, allocations: 116.3 MB / 0.9799 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7665/1.033, allocations: 138.5 MB / 1.115 GB, free: 44.86 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001941/1.034, allocations: 72.34 kB / 1.115 GB, free: 44.83 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002202/1.036, allocations: 0.8911 MB / 1.116 GB, free: 44.21 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.363e-06/1.036, allocations: 2.438 kB / 1.116 GB, free: 44.21 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.108e-05/1.036, allocations: 0.5625 kB / 1.116 GB, free: 44.21 MB / 0.7448 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.0003429/1.036, allocations: 375.7 kB / 1.116 GB, free: 43.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/1.036, allocations: 8.031 kB / 1.116 GB, free: 43.81 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.97e-05/1.036, allocations: 38.06 kB / 1.116 GB, free: 43.77 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.374e-05/1.036, allocations: 4.062 kB / 1.116 GB, free: 43.77 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.085e-05/1.036, allocations: 163.8 kB / 1.117 GB, free: 43.57 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/1.036, allocations: 3.922 kB / 1.117 GB, free: 43.57 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/1.036, allocations: 4.875 kB / 1.117 GB, free: 43.57 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.942e-05/1.037, allocations: 44.25 kB / 1.117 GB, free: 43.53 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/1.037, allocations: 0 / 1.117 GB, free: 43.53 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/1.037, allocations: 5.031 kB / 1.117 GB, free: 43.52 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/1.037, allocations: 0 / 1.117 GB, free: 43.52 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.238e-05/1.037, allocations: 22.69 kB / 1.117 GB, free: 43.51 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004012/1.037, allocations: 312.7 kB / 1.117 GB, free: 43.2 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.904e-05/1.037, allocations: 30.14 kB / 1.117 GB, free: 43.16 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.814e-05/1.037, allocations: 12.42 kB / 1.117 GB, free: 43.15 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/1.037, allocations: 4 kB / 1.117 GB, free: 43.15 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.352e-05/1.037, allocations: 38.38 kB / 1.117 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/1.037, allocations: 0.5625 kB / 1.117 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001462/1.037, allocations: 48.66 kB / 1.117 GB, free: 43.06 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.214e-05/1.037, allocations: 62.8 kB / 1.117 GB, free: 42.99 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.109e-05/1.037, allocations: 101.5 kB / 1.117 GB, free: 42.89 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.727e-06/1.037, allocations: 25.7 kB / 1.117 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.51e-05/1.037, allocations: 84.02 kB / 1.117 GB, free: 42.78 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/1.038, allocations: 15.75 kB / 1.117 GB, free: 42.77 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-06/1.038, allocations: 0.5625 kB / 1.117 GB, free: 42.77 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.58e-05/1.038, allocations: 321.6 kB / 1.118 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.212e-05/1.038, allocations: 7.812 kB / 1.118 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.915e-05/1.038, allocations: 11.28 kB / 1.118 GB, free: 42.44 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.353e-05/1.038, allocations: 11.62 kB / 1.118 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.038, allocations: 0 / 1.118 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.545e-05/1.038, allocations: 57.56 kB / 1.118 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/1.038, allocations: 4 kB / 1.118 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/1.038, allocations: 0 / 1.118 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/1.038, allocations: 0 / 1.118 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/1.038, allocations: 22.56 kB / 1.118 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/1.038, allocations: 0 / 1.118 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.451e-05/1.038, allocations: 23.98 kB / 1.118 GB, free: 42.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/1.038, allocations: 8.359 kB / 1.118 GB, free: 42.34 MB / 0.7448 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 3.784e-05/1.038, allocations: 104.9 kB / 1.118 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/1.038, allocations: 3.906 kB / 1.118 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001164/1.038, allocations: 68.59 kB / 1.118 GB, free: 42.17 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/1.038, allocations: 0 / 1.118 GB, free: 42.17 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/1.038, allocations: 5.5 kB / 1.118 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/1.038, allocations: 0 / 1.118 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/1.038, allocations: 171.9 kB / 1.118 GB, free: 41.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/1.038, allocations: 0 / 1.118 GB, free: 41.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/1.038, allocations: 19.56 kB / 1.118 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/1.039, allocations: 0 / 1.118 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.054e-06/1.039, allocations: 0 / 1.118 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/1.039, allocations: 4 kB / 1.118 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/1.039, allocations: 6.953 kB / 1.118 GB, free: 41.94 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.385e-05/1.039, allocations: 155.7 kB / 1.118 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/1.039, allocations: 84.58 kB / 1.118 GB, free: 41.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/1.039, allocations: 0 / 1.118 GB, free: 41.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/1.039, allocations: 15.28 kB / 1.118 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/1.039, allocations: 11.42 kB / 1.119 GB, free: 41.67 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/1.039, allocations: 0 / 1.119 GB, free: 41.67 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.397e-05/1.039, allocations: 87.02 kB / 1.119 GB, free: 41.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.039, allocations: 0.75 kB / 1.119 GB, free: 41.59 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002153/1.039, allocations: 4 kB / 1.119 GB, free: 41.59 MB / 0.7448 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.0002682/1.039, allocations: 0.6891 MB / 1.119 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.49e-05/1.039, allocations: 27.75 kB / 1.119 GB, free: 40.87 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.039, allocations: 0 / 1.119 GB, free: 40.87 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.083e-05/1.04, allocations: 12.45 kB / 1.119 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/1.04, allocations: 11.61 kB / 1.119 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002901/1.04, allocations: 99.8 kB / 1.119 GB, free: 40.74 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.766e-05/1.04, allocations: 0.6875 MB / 1.12 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.859e-05/1.04, allocations: 7.375 kB / 1.12 GB, free: 40.03 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/1.04, allocations: 15 kB / 1.12 GB, free: 40.02 MB / 0.7448 GB Notification: Performance of SimCode: time 3.11e-07/1.04, allocations: 0 / 1.12 GB, free: 40.02 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01078/1.051, allocations: 1.287 MB / 1.121 GB, free: 39.35 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001386/1.051, allocations: 159.9 kB / 1.122 GB, free: 39.12 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.484/2.535, allocations: 0 / 1.122 GB, free: 39.12 MB / 0.7448 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1)