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.001664/0.001664, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002089/0.002089, allocations: 218.8 kB / 23.03 MB, free: 4.949 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.789 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 3.3/3.3, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 MB / 0.6231 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: 65.61 kB / 1.171 GB, free: 19.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4367/0.4388, allocations: 179 MB / 1.345 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002208/0.441, allocations: 0.6944 MB / 1.346 GB, free: 15.24 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.4422, allocations: 0.8708 MB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.666e-05/0.4422, allocations: 8 kB / 1.347 GB, free: 14.35 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/0.4423, allocations: 7.922 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.442e-05/0.4424, allocations: 7.938 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.4426, allocations: 15.92 kB / 1.347 GB, free: 14.32 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.654e-05/0.4427, allocations: 43.92 kB / 1.347 GB, free: 14.28 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.773e-05/0.4428, allocations: 7.984 kB / 1.347 GB, free: 14.27 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.777e-05/0.4429, allocations: 23.91 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.213e-05/0.4429, allocations: 19.92 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.4429, allocations: 4 kB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.024e-05/0.443, allocations: 8 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.069e-05/0.443, allocations: 15.92 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.298e-05/0.443, allocations: 11.94 kB / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.4432, allocations: 52.08 kB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4432, allocations: 0 / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4432, allocations: 3.938 kB / 1.347 GB, free: 14.13 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.4432, allocations: 0 / 1.347 GB, free: 14.13 MB / 1.045 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.0005349/0.4437, allocations: 294.1 kB / 1.347 GB, free: 13.81 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.4438, allocations: 8.031 kB / 1.347 GB, free: 13.8 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.907e-05/0.4438, allocations: 192 / 1.347 GB, free: 13.8 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.438e-05/0.4438, allocations: 38.75 kB / 1.347 GB, free: 13.76 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.565e-05/0.4439, allocations: 8.891 kB / 1.347 GB, free: 13.75 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.444, allocations: 110.5 kB / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.444, allocations: 4.375 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.4441, allocations: 384 / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.4443, allocations: 69.97 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.4443, allocations: 0 / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.4443, allocations: 0 / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.4443, allocations: 4 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002867/0.4446, allocations: 71.86 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004264/0.4451, allocations: 232 kB / 1.348 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.4453, allocations: 54.53 kB / 1.348 GB, free: 13.13 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.4454, allocations: 36.86 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.973e-05/0.4455, allocations: 7.984 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.4455, allocations: 38.5 kB / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.173e-06/0.4455, allocations: 0 / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0005527/0.446, allocations: 125.6 kB / 1.348 GB, free: 12.91 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.4461, allocations: 51.41 kB / 1.348 GB, free: 12.85 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.4462, allocations: 113.8 kB / 1.348 GB, free: 12.73 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.4462, allocations: 25.7 kB / 1.348 GB, free: 12.7 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.151e-05/0.4463, allocations: 92.06 kB / 1.348 GB, free: 12.6 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.4463, allocations: 15.84 kB / 1.348 GB, free: 12.59 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.4464, allocations: 9.719 kB / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.4465, allocations: 322.8 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.4467, allocations: 31.95 kB / 1.349 GB, free: 12.21 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.4468, allocations: 27.97 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.447, allocations: 76.72 kB / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4471, allocations: 0 / 1.349 GB, free: 12.11 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003078/0.4474, allocations: 93.95 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.4474, allocations: 8 kB / 1.349 GB, free: 12 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.4474, allocations: 11.97 kB / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.4474, allocations: 0 / 1.349 GB, free: 11.99 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.4475, allocations: 11.98 kB / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4475, allocations: 0 / 1.349 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.682e-05/0.4476, allocations: 15.98 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.4476, allocations: 0 / 1.349 GB, free: 11.96 MB / 1.045 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 9.629e-05/0.4477, allocations: 121.7 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.4478, allocations: 11.89 kB / 1.349 GB, free: 11.82 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003815/0.4481, allocations: 109.6 kB / 1.349 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.4481, allocations: 4 kB / 1.349 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4481, allocations: 0 / 1.349 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.4481, allocations: 0 / 1.349 GB, free: 11.7 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.4483, allocations: 132.7 kB / 1.349 GB, free: 11.53 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.4483, allocations: 0 / 1.349 GB, free: 11.53 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.634e-05/0.4484, allocations: 11.98 kB / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.4484, allocations: 8 kB / 1.349 GB, free: 11.51 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.4484, allocations: 0 / 1.349 GB, free: 11.51 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4484, allocations: 0 / 1.349 GB, free: 11.51 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4484, allocations: 3.938 kB / 1.349 GB, free: 11.5 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003848/0.4488, allocations: 203.3 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.172e-05/0.4488, allocations: 4 kB / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.4489, allocations: 0 / 1.35 GB, free: 11.29 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.449, allocations: 19.98 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/0.449, allocations: 3.984 kB / 1.35 GB, free: 11.26 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.449, allocations: 4 kB / 1.35 GB, free: 11.26 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.979e-05/0.4491, allocations: 91.56 kB / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.4491, allocations: 0 / 1.35 GB, free: 11.17 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002234/0.4493, allocations: 8 kB / 1.35 GB, free: 11.16 MB / 1.045 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.0007365/0.45, allocations: 0.7279 MB / 1.35 GB, free: 10.41 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003414/0.4504, allocations: 67.91 kB / 1.35 GB, free: 10.34 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4504, allocations: 4 kB / 1.35 GB, free: 10.34 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.4505, allocations: 35.91 kB / 1.351 GB, free: 10.3 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.4509, allocations: 8.234 kB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005236/0.4514, allocations: 163.8 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.708e-05/0.4515, allocations: 63.34 kB / 1.351 GB, free: 10.01 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.278e-05/0.4515, allocations: 3.984 kB / 1.351 GB, free: 10 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.282e-05/0.4516, allocations: 15.44 kB / 1.351 GB, free: 9.988 MB / 1.045 GB Notification: Performance of SimCode: time 2.81e-07/0.4516, allocations: 0 / 1.351 GB, free: 9.988 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.4746, allocations: 1.841 MB / 1.353 GB, free: 8.301 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.95, allocations: 5.938 kB / 1.353 GB, free: 8.297 MB / 1.045 GB " [Timeout remaining time 288] (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: 18.930016105994582]