Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.345/1.345, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001419/0.001418, allocations: 195.1 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.055/2.055, allocations: 205.4 MB / 0.5775 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 89.67 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003231/0.0003231, allocations: 12.16 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2659, allocations: 106.4 MB / 0.9002 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1849/0.4509, allocations: 131.4 MB / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.4511, allocations: 71.95 kB / 1.029 GB, free: 12.09 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002822/0.454, allocations: 0.9344 MB / 1.03 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.405e-06/0.454, allocations: 0 / 1.03 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.454, allocations: 0 / 1.03 GB, free: 11.15 MB / 0.6823 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.000524/0.4546, allocations: 379.1 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.4546, allocations: 12.03 kB / 1.03 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.67e-05/0.4547, allocations: 38.55 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.427e-05/0.4547, allocations: 0 / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.4549, allocations: 171 kB / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.4549, allocations: 0 / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.4549, allocations: 4 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.4552, allocations: 77.66 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.4552, allocations: 3.938 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.4552, allocations: 0 / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.4552, allocations: 4 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003097/0.4555, allocations: 87.92 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006484/0.4562, allocations: 316.7 kB / 1.031 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.4564, allocations: 66.55 kB / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.4565, allocations: 0 / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.4565, allocations: 34.5 kB / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.4565, allocations: 0 / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005681/0.4571, allocations: 165.7 kB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.4571, allocations: 51.41 kB / 1.031 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.747e-05/0.4572, allocations: 101 kB / 1.031 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.4573, allocations: 25.7 kB / 1.031 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.242e-05/0.4573, allocations: 92.03 kB / 1.031 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.4574, allocations: 7.906 kB / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.4574, allocations: 0 / 1.031 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.4575, allocations: 322.8 kB / 1.031 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.4577, allocations: 43.97 kB / 1.031 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.4578, allocations: 51.89 kB / 1.031 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.458, allocations: 39.97 kB / 1.032 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.458, allocations: 0 / 1.032 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003335/0.4583, allocations: 113.9 kB / 1.032 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.4584, allocations: 8 kB / 1.032 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.4584, allocations: 0 / 1.032 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.4584, allocations: 7.984 kB / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.4586, allocations: 20.03 kB / 1.032 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.4586, allocations: 0 / 1.032 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.175e-05/0.4587, allocations: 23.91 kB / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.4587, allocations: 0 / 1.032 GB, free: 8.711 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.236e-05/0.4588, allocations: 121.8 kB / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.4588, allocations: 3.906 kB / 1.032 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004115/0.4593, allocations: 137.4 kB / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.4593, allocations: 0 / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4593, allocations: 0 / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4593, allocations: 0 / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.4595, allocations: 169.6 kB / 1.032 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4595, allocations: 0 / 1.032 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.4596, allocations: 23.98 kB / 1.032 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4596, allocations: 3.938 kB / 1.032 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.4597, allocations: 3.984 kB / 1.032 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.4597, allocations: 0 / 1.032 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4597, allocations: 0 / 1.032 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004452/0.4601, allocations: 223.4 kB / 1.032 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.474e-05/0.4602, allocations: 81.02 kB / 1.032 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.4602, allocations: 0 / 1.032 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.4604, allocations: 23.97 kB / 1.032 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.4604, allocations: 0 / 1.032 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.4604, allocations: 4 kB / 1.032 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.313e-05/0.4605, allocations: 87.27 kB / 1.033 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4605, allocations: 0 / 1.033 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002282/0.4607, allocations: 8 kB / 1.033 GB, free: 7.734 MB / 0.6823 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 (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.0007761/0.4615, allocations: 0.7598 MB / 1.033 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003408/0.4619, allocations: 87.92 kB / 1.033 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.4619, allocations: 0 / 1.033 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.4621, allocations: 51.97 kB / 1.033 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.4624, allocations: 8.844 kB / 1.033 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005739/0.4629, allocations: 170.1 kB / 1.034 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.4633, allocations: 0.6848 MB / 1.034 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.809e-05/0.4634, allocations: 4 kB / 1.034 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.613e-05/0.4634, allocations: 15.44 kB / 1.034 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of SimCode: time 7.01e-07/0.4634, allocations: 3.938 kB / 1.034 GB, free: 5.859 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01114/0.4746, allocations: 1.283 MB / 1.036 GB, free: 4.727 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/0.4748, allocations: 194.8 kB / 1.036 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.614/2.089, allocations: 2.109 kB / 1.036 GB, free: 4.484 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1)