Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 182.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 225.6 MB / 249.3 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.548/2.548, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 60.14 kB / 1.107 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7864/0.7884, allocations: 168.7 MB / 1.271 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001519/0.7899, allocations: 0.7238 MB / 1.272 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006923/0.7906, allocations: 0.8291 MB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.7906, allocations: 1.031 kB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.327e-05/0.7906, allocations: 4 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.334e-05/0.7907, allocations: 13.89 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001225/0.7908, allocations: 15.62 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.219e-05/0.7909, allocations: 47.58 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.721e-05/0.791, allocations: 9.594 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.655e-05/0.791, allocations: 21.72 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.35e-05/0.7911, allocations: 18.3 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.7911, allocations: 4.375 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.012e-05/0.7911, allocations: 3.344 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.7911, allocations: 10.52 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.571e-05/0.7911, allocations: 22.12 kB / 1.273 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.978e-05/0.7912, allocations: 46.73 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.7912, allocations: 0 / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.22e-07/0.7912, allocations: 0.6562 kB / 1.273 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.7912, allocations: 0 / 1.273 GB, free: 6.473 MB / 0.9981 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.0004096/0.7916, allocations: 361 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.7917, allocations: 9.094 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.841e-05/0.7917, allocations: 32.31 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.211e-05/0.7917, allocations: 15.86 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.119e-05/0.7918, allocations: 168 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.7918, allocations: 2.094 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.7918, allocations: 1.844 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.792, allocations: 73.11 kB / 1.274 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.792, allocations: 3.938 kB / 1.274 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.7921, allocations: 0.8438 kB / 1.274 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.7921, allocations: 0.7188 kB / 1.274 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002884/0.7923, allocations: 66.27 kB / 1.274 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002528/0.7926, allocations: 271.1 kB / 1.274 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.7928, allocations: 58.02 kB / 1.274 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.7929, allocations: 40.16 kB / 1.274 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.7929, allocations: 0 / 1.274 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.291e-05/0.793, allocations: 31.5 kB / 1.274 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.793, allocations: 4.828 kB / 1.274 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0004988/0.7935, allocations: 131 kB / 1.274 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.975e-05/0.7935, allocations: 51.41 kB / 1.274 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.433e-05/0.7935, allocations: 114.7 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.113e-06/0.7935, allocations: 25.7 kB / 1.275 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.246e-05/0.7936, allocations: 98.06 kB / 1.275 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.418e-05/0.7936, allocations: 4.828 kB / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.7936, allocations: 16.62 kB / 1.275 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.427e-05/0.7936, allocations: 319.4 kB / 1.275 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.7938, allocations: 30.39 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.7939, allocations: 31.34 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002531/0.7942, allocations: 75.5 kB / 1.275 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.7942, allocations: 3.938 kB / 1.275 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002893/0.7944, allocations: 100.5 kB / 1.275 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.7945, allocations: 7.219 kB / 1.275 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.7945, allocations: 0 / 1.275 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.7945, allocations: 0.625 kB / 1.275 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/0.7946, allocations: 23.44 kB / 1.275 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.7946, allocations: 0 / 1.275 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.413e-05/0.7947, allocations: 15.19 kB / 1.275 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-06/0.7947, allocations: 0.9375 kB / 1.275 GB, free: 4.645 MB / 0.9981 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 3.944e-05/0.7947, allocations: 115.9 kB / 1.275 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.7947, allocations: 3.375 kB / 1.275 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003189/0.7951, allocations: 107.6 kB / 1.275 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.7951, allocations: 0.8438 kB / 1.275 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.7951, allocations: 4.125 kB / 1.275 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.7951, allocations: 0 / 1.275 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.7952, allocations: 168.8 kB / 1.276 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.7952, allocations: 0.9062 kB / 1.276 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.177e-05/0.7953, allocations: 18.7 kB / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.7953, allocations: 4.688 kB / 1.276 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.7953, allocations: 6.25 kB / 1.276 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.7953, allocations: 0 / 1.276 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.7953, allocations: 0.9688 kB / 1.276 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.7956, allocations: 194 kB / 1.276 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.555e-05/0.7956, allocations: 82.77 kB / 1.276 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.7956, allocations: 5.156 kB / 1.276 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.952e-05/0.7957, allocations: 12.97 kB / 1.276 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.084e-05/0.7957, allocations: 4.453 kB / 1.276 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.7958, allocations: 1 kB / 1.276 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.335e-05/0.7958, allocations: 86.23 kB / 1.276 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7958, allocations: 1 kB / 1.276 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002034/0.796, allocations: 6.188 kB / 1.276 GB, free: 3.93 MB / 0.9981 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.0004902/0.7965, allocations: 0.7389 MB / 1.277 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003205/0.7968, allocations: 72.88 kB / 1.277 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.7968, allocations: 0 / 1.277 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.7969, allocations: 36.39 kB / 1.277 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.7972, allocations: 14.61 kB / 1.277 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003686/0.7976, allocations: 170.4 kB / 1.277 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.177e-05/0.7977, allocations: 0.686 MB / 1.278 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.485e-05/0.7977, allocations: 1.625 kB / 1.278 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.7977, allocations: 12.84 kB / 1.278 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of SimCode: time 2.81e-07/0.7977, allocations: 0.75 kB / 1.278 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.8205, allocations: 1.611 MB / 1.279 GB, free: 17.97 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.968/7.789, allocations: 7.734 kB / 1.279 GB, free: 17.96 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.csv. Warning: Get data of variable atan2_1.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.csv failed! Error: Could not read variable atan2_1.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.csv. Warning: Get data of variable atan2_1.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.199678322998807]