Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001241/0.001241, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001418/0.001418, allocations: 225.6 kB / 22.25 MB, free: 5.254 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.265/3.265, allocations: 0.49 GB / 0.7951 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",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.002079/0.002079, allocations: 71.7 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4046, allocations: 176.1 MB / 1.326 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002031/0.4066, allocations: 0.6976 MB / 1.327 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.4078, allocations: 0.867 MB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.889e-05/0.4078, allocations: 0 / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.4079, allocations: 0 / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.32e-05/0.4079, allocations: 11.88 kB / 1.327 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.4081, allocations: 23.97 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.083e-05/0.4082, allocations: 47.8 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.4083, allocations: 11.97 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.477e-05/0.4084, allocations: 23.94 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.152e-05/0.4084, allocations: 23.91 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.4085, allocations: 4 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.716e-05/0.4085, allocations: 8 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.4085, allocations: 4 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.594e-05/0.4085, allocations: 15.92 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.4087, allocations: 52.02 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4087, allocations: 0 / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4087, allocations: 0 / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.4087, allocations: 0 / 1.328 GB, free: 15.65 MB / 1.029 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.0005249/0.4092, allocations: 299.5 kB / 1.328 GB, free: 15.33 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.4093, allocations: 12.03 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.314e-05/0.4093, allocations: 30.75 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.971e-05/0.4094, allocations: 4.938 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.4095, allocations: 118.4 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.4095, allocations: 384 / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.4095, allocations: 4.375 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.4098, allocations: 70.2 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.4098, allocations: 7.938 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.4098, allocations: 4 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.4098, allocations: 0 / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002809/0.4101, allocations: 63.92 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000381/0.4105, allocations: 232 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.4107, allocations: 54.53 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.4108, allocations: 44.86 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.4108, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.4109, allocations: 30.56 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.4109, allocations: 0 / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005395/0.4114, allocations: 137.5 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.4115, allocations: 55.41 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.871e-05/0.4115, allocations: 105.8 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.4116, allocations: 29.7 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.52e-05/0.4116, allocations: 88.08 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.4117, allocations: 7.953 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.4117, allocations: 17.7 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.4118, allocations: 314.8 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.412, allocations: 35.97 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.4121, allocations: 27.95 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/0.4124, allocations: 80.94 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4124, allocations: 0 / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003145/0.4127, allocations: 109.5 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.4127, allocations: 4 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.4127, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.4127, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.4129, allocations: 15.98 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.4129, allocations: 4.297 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.448e-05/0.413, allocations: 11.98 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.413, allocations: 0 / 1.33 GB, free: 13.48 MB / 1.029 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 0.0001003/0.4131, allocations: 122.3 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.4131, allocations: 3.953 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003615/0.4134, allocations: 105.5 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4135, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4135, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.4135, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.4136, allocations: 140.7 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4136, allocations: 4 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.113e-05/0.4137, allocations: 19.97 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4137, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.4137, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4137, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4137, allocations: 7.984 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003818/0.4141, allocations: 199.4 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.029e-05/0.4141, allocations: 3.953 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.4142, allocations: 4 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.994e-05/0.4143, allocations: 11.98 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.4143, allocations: 11.92 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.4143, allocations: 7.938 kB / 1.33 GB, free: 12.76 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.043e-05/0.4144, allocations: 83.28 kB / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4144, allocations: 0 / 1.33 GB, free: 12.68 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002137/0.4146, allocations: 8 kB / 1.33 GB, free: 12.67 MB / 1.029 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.0007065/0.4153, allocations: 0.728 MB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000329/0.4156, allocations: 67.86 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4156, allocations: 0 / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.4158, allocations: 39.95 kB / 1.331 GB, free: 11.81 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.4161, allocations: 13.44 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005067/0.4166, allocations: 159.8 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.057e-05/0.4167, allocations: 67.34 kB / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.502e-05/0.4167, allocations: 0 / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.078e-05/0.4168, allocations: 15.44 kB / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4168, allocations: 0 / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0303/0.4471, allocations: 2.221 MB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.53, allocations: 3.969 kB / 1.334 GB, free: 9.422 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable atan2_1.u1 in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.csv. Warning: Get data of variable atan2_1.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.csv failed! Error: Could not read variable atan2_1.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.csv. Warning: Get data of variable atan2_1.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.52899803497712]