Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 193.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.468/2.468, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 63.91 kB / 0.8694 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5303/0.5324, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.00173/0.5342, allocations: 0.7039 MB / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007702/0.5349, allocations: 0.8234 MB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.227e-05/0.535, allocations: 4 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.639e-05/0.535, allocations: 3.984 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.334e-05/0.5351, allocations: 11.88 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.5352, allocations: 11.98 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.619e-05/0.5353, allocations: 43.86 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.5354, allocations: 15.98 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.474e-05/0.5355, allocations: 15.92 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.439e-05/0.5355, allocations: 31.84 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.5356, allocations: 8 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.132e-05/0.5356, allocations: 4 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.5356, allocations: 7.984 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.5356, allocations: 15.88 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.551e-05/0.5357, allocations: 35.88 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5357, allocations: 0 / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5357, allocations: 0 / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.5357, allocations: 0 / 1.019 GB, free: 0.7422 MB / 0.7637 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.0004596/0.5362, allocations: 373.5 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.5363, allocations: 8.031 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.5363, allocations: 34.75 kB / 1.02 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.982e-05/0.5363, allocations: 0.9375 kB / 1.02 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.5364, allocations: 176.2 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.312e-06/0.5364, allocations: 384 / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.5365, allocations: 384 / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.5367, allocations: 78.14 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.5367, allocations: 3.938 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.5368, allocations: 4 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.5368, allocations: 0 / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002991/0.5371, allocations: 67.91 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003439/0.5374, allocations: 272.9 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.5376, allocations: 62.48 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.5378, allocations: 40.91 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.5378, allocations: 0 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.5379, allocations: 30.56 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.5379, allocations: 4 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005574/0.5384, allocations: 125.5 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.5385, allocations: 55.39 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.446e-05/0.5385, allocations: 109.9 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.5386, allocations: 29.69 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.5386, allocations: 84.14 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.5387, allocations: 19.78 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.5387, allocations: 13.72 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.5388, allocations: 318.8 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.539, allocations: 27.97 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.5391, allocations: 39.95 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.5394, allocations: 68.67 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5394, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003368/0.5398, allocations: 101.5 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.5398, allocations: 12 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.5398, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.5398, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.5399, allocations: 15.92 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.54, allocations: 4 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.973e-05/0.54, allocations: 7.984 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.5401, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.202e-05/0.5401, allocations: 117.8 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.5402, allocations: 7.984 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003623/0.5405, allocations: 101.5 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.5405, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.5406, allocations: 4 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.5406, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.5407, allocations: 169.5 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5407, allocations: 4 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.5408, allocations: 19.91 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.5409, allocations: 3.938 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.5409, allocations: 8 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5409, allocations: 4 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5409, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.5413, allocations: 195.8 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.143e-05/0.5413, allocations: 77.11 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.5413, allocations: 7.984 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.5414, allocations: 11.98 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.5415, allocations: 4 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.5415, allocations: 0 / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.012e-05/0.5415, allocations: 91.27 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5416, allocations: 4 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002161/0.5418, allocations: 7.906 kB / 1.022 GB, free: 13.43 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006951/0.5425, allocations: 0.7319 MB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003354/0.5428, allocations: 67.92 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5428, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.543, allocations: 35.91 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.5433, allocations: 21.48 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003983/0.5437, allocations: 163.8 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.5439, allocations: 0.6807 MB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.476e-05/0.5439, allocations: 0 / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.544, allocations: 19.44 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.544, allocations: 0 / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01497/0.559, allocations: 1.585 MB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.016/7.575, allocations: 5.203 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches