Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 119.3 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002158/0.002158, allocations: 209.5 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.542/1.542, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.999/2.999, allocations: 0.5003 GB / 0.8026 GB, free: 6.906 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 67.89 kB / 1.165 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177/1.179, allocations: 178.9 MB / 1.34 GB, free: 16.32 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.00195/1.181, allocations: 0.7095 MB / 1.341 GB, free: 15.87 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009573/1.182, allocations: 0.8741 MB / 1.342 GB, free: 15.21 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.14e-05/1.182, allocations: 5.312 kB / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.689e-05/1.182, allocations: 0.5625 kB / 1.342 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.225e-05/1.182, allocations: 13.52 kB / 1.342 GB, free: 15.19 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/1.182, allocations: 21.52 kB / 1.342 GB, free: 15.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.651e-05/1.182, allocations: 43.62 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.706e-05/1.183, allocations: 9.984 kB / 1.342 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.854e-05/1.183, allocations: 17.39 kB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.28e-05/1.183, allocations: 23.11 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/1.183, allocations: 4.062 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.125e-05/1.183, allocations: 7.312 kB / 1.342 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/1.183, allocations: 14.52 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.717e-05/1.183, allocations: 22.09 kB / 1.342 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/1.183, allocations: 45.44 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/1.183, allocations: 1.406 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.825e-06/1.183, allocations: 0.7031 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.059e-06/1.183, allocations: 0 / 1.342 GB, free: 15.09 MB / 1.061 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.0005056/1.183, allocations: 360.2 kB / 1.342 GB, free: 14.73 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/1.183, allocations: 10.22 kB / 1.342 GB, free: 14.73 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.472e-05/1.183, allocations: 10.02 kB / 1.342 GB, free: 14.72 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.878e-05/1.183, allocations: 31.31 kB / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.186e-05/1.184, allocations: 8.844 kB / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.919e-05/1.184, allocations: 180.7 kB / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/1.184, allocations: 2.203 kB / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/1.184, allocations: 1.5 kB / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/1.184, allocations: 72.97 kB / 1.343 GB, free: 14.42 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/1.184, allocations: 7.938 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/1.184, allocations: 1.031 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/1.184, allocations: 0.5625 kB / 1.343 GB, free: 14.41 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/1.184, allocations: 71.17 kB / 1.343 GB, free: 14.4 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/1.185, allocations: 273.7 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/1.185, allocations: 58.84 kB / 1.343 GB, free: 14.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/1.185, allocations: 37.08 kB / 1.343 GB, free: 14.06 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/1.185, allocations: 0 / 1.343 GB, free: 14.06 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/1.185, allocations: 32.78 kB / 1.343 GB, free: 14.02 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.763e-06/1.185, allocations: 4 kB / 1.343 GB, free: 14.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005825/1.186, allocations: 128.8 kB / 1.343 GB, free: 13.97 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/1.186, allocations: 52.16 kB / 1.343 GB, free: 13.91 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.623e-05/1.186, allocations: 111.3 kB / 1.343 GB, free: 13.8 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.447e-06/1.186, allocations: 27.08 kB / 1.343 GB, free: 13.77 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/1.186, allocations: 90.58 kB / 1.343 GB, free: 13.68 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/1.186, allocations: 13.97 kB / 1.343 GB, free: 13.67 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/1.186, allocations: 13.31 kB / 1.343 GB, free: 13.66 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.539e-05/1.186, allocations: 318.1 kB / 1.344 GB, free: 13.34 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/1.186, allocations: 30.83 kB / 1.344 GB, free: 13.34 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/1.186, allocations: 35.67 kB / 1.344 GB, free: 13.33 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/1.186, allocations: 67.22 kB / 1.344 GB, free: 13.31 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.186, allocations: 0 / 1.344 GB, free: 13.31 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003291/1.187, allocations: 101.6 kB / 1.344 GB, free: 13.27 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/1.187, allocations: 9.5 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/1.187, allocations: 0.7031 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/1.187, allocations: 1.375 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/1.187, allocations: 15.02 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/1.187, allocations: 1.375 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.404e-05/1.187, allocations: 15.78 kB / 1.344 GB, free: 13.26 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/1.187, allocations: 0 / 1.344 GB, free: 13.26 MB / 1.061 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 5.831e-05/1.187, allocations: 117.2 kB / 1.344 GB, free: 13.14 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/1.187, allocations: 5.328 kB / 1.344 GB, free: 13.13 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003862/1.188, allocations: 108.8 kB / 1.344 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.188, allocations: 1.953 kB / 1.344 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/1.188, allocations: 0 / 1.344 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.188, allocations: 1.156 kB / 1.344 GB, free: 13.07 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/1.188, allocations: 175 kB / 1.344 GB, free: 12.87 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/1.188, allocations: 4 kB / 1.344 GB, free: 12.87 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/1.188, allocations: 15.45 kB / 1.344 GB, free: 12.87 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/1.188, allocations: 0.6562 kB / 1.344 GB, free: 12.87 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/1.188, allocations: 5.375 kB / 1.344 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/1.188, allocations: 0 / 1.344 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.188, allocations: 2.359 kB / 1.344 GB, free: 12.86 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/1.188, allocations: 201.8 kB / 1.345 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.762e-05/1.188, allocations: 83.23 kB / 1.345 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/1.188, allocations: 8.531 kB / 1.345 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/1.188, allocations: 11.8 kB / 1.345 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/1.188, allocations: 8.172 kB / 1.345 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/1.188, allocations: 0.6094 kB / 1.345 GB, free: 12.6 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.498e-05/1.188, allocations: 83.22 kB / 1.345 GB, free: 12.53 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.188, allocations: 5.469 kB / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002284/1.189, allocations: 10.44 kB / 1.345 GB, free: 12.52 MB / 1.061 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.0006441/1.189, allocations: 0.7265 MB / 1.346 GB, free: 11.85 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004004/1.19, allocations: 69.7 kB / 1.346 GB, free: 11.84 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.19, allocations: 1.469 kB / 1.346 GB, free: 11.84 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001641/1.19, allocations: 33.95 kB / 1.346 GB, free: 11.83 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/1.19, allocations: 8.469 kB / 1.346 GB, free: 11.83 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005238/1.191, allocations: 161.7 kB / 1.346 GB, free: 11.67 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/1.191, allocations: 0.6796 MB / 1.347 GB, free: 10.98 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.87e-05/1.191, allocations: 2.25 kB / 1.347 GB, free: 10.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/1.191, allocations: 15.42 kB / 1.347 GB, free: 10.96 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/1.191, allocations: 0 / 1.347 GB, free: 10.96 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/1.212, allocations: 1.697 MB / 1.348 GB, free: 10.54 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.409/9.622, allocations: 7.266 kB / 1.348 GB, free: 10.54 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.229770952020772]