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.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.001607/0.001607, allocations: 109.4 kB / 16.46 MB, free: 6.387 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.001592/0.001592, allocations: 216.8 kB / 19.43 MB, free: 3.73 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.57/1.57, allocations: 230.6 MB / 252.8 MB, free: 8.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.81/2.81, allocations: 476.7 MB / 0.7672 GB, free: 5.242 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.001998/0.001998, allocations: 71.89 kB / 1.112 GB, free: 1.488 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8657/0.8677, allocations: 169.9 MB / 1.278 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002183/0.8699, allocations: 0.7065 MB / 1.279 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.8711, allocations: 0.8822 MB / 1.28 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.702e-05/0.8711, allocations: 0 / 1.28 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/0.8711, allocations: 3.938 kB / 1.28 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.993e-05/0.8712, allocations: 7.875 kB / 1.28 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.8714, allocations: 27.83 kB / 1.28 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.381e-05/0.8715, allocations: 43.92 kB / 1.28 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.99e-05/0.8716, allocations: 11.98 kB / 1.28 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.121e-05/0.8717, allocations: 23.86 kB / 1.28 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.761e-05/0.8717, allocations: 15.92 kB / 1.28 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.8717, allocations: 4 kB / 1.28 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.763e-05/0.8718, allocations: 12 kB / 1.28 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.8718, allocations: 7.984 kB / 1.28 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.256e-05/0.8718, allocations: 15.88 kB / 1.28 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.872, allocations: 53.62 kB / 1.28 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.872, allocations: 0 / 1.28 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.924e-06/0.872, allocations: 0 / 1.28 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.872, allocations: 0 / 1.28 GB, free: 11.56 MB / 0.9825 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.0005982/0.8726, allocations: 367.3 kB / 1.28 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.8726, allocations: 12.03 kB / 1.28 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.194e-05/0.8727, allocations: 30.75 kB / 1.28 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.958e-05/0.8728, allocations: 4.938 kB / 1.28 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.8729, allocations: 180.2 kB / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.8729, allocations: 4.375 kB / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.8729, allocations: 384 / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.8732, allocations: 74.16 kB / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.8732, allocations: 3.938 kB / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.8732, allocations: 4 kB / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.8732, allocations: 0 / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003039/0.8735, allocations: 63.92 kB / 1.281 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.8739, allocations: 268.9 kB / 1.281 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.8742, allocations: 58.41 kB / 1.281 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.8743, allocations: 36.92 kB / 1.281 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.8743, allocations: 0 / 1.281 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.8744, allocations: 34.56 kB / 1.281 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.8744, allocations: 0 / 1.281 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005667/0.8749, allocations: 137.7 kB / 1.281 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.875, allocations: 51.41 kB / 1.281 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.705e-05/0.8751, allocations: 113.8 kB / 1.281 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.8751, allocations: 29.7 kB / 1.282 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/0.8752, allocations: 88.14 kB / 1.282 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.8752, allocations: 3.953 kB / 1.282 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.8752, allocations: 17.7 kB / 1.282 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.8754, allocations: 314.8 kB / 1.282 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.8755, allocations: 27.97 kB / 1.282 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.8757, allocations: 43.94 kB / 1.282 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.8759, allocations: 72.72 kB / 1.282 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.8759, allocations: 3.938 kB / 1.282 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003361/0.8763, allocations: 101.6 kB / 1.282 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.8763, allocations: 4 kB / 1.282 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.8763, allocations: 0 / 1.282 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.8763, allocations: 3.938 kB / 1.282 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.8764, allocations: 15.98 kB / 1.282 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.8765, allocations: 3.984 kB / 1.282 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.631e-05/0.8765, allocations: 15.92 kB / 1.282 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.8765, allocations: 0 / 1.282 GB, free: 9.176 MB / 0.9825 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.683e-05/0.8766, allocations: 117.8 kB / 1.282 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.8767, allocations: 4 kB / 1.282 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003901/0.8771, allocations: 105.5 kB / 1.282 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.8771, allocations: 0 / 1.282 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.8771, allocations: 4 kB / 1.282 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.8771, allocations: 0 / 1.282 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.8773, allocations: 181.5 kB / 1.283 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.8773, allocations: 0 / 1.283 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.8774, allocations: 19.92 kB / 1.283 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.8774, allocations: 0 / 1.283 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.8774, allocations: 0 / 1.283 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8774, allocations: 3.938 kB / 1.283 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8774, allocations: 0 / 1.283 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003942/0.8778, allocations: 195.4 kB / 1.283 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.754e-05/0.8778, allocations: 89.06 kB / 1.283 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.8778, allocations: 0 / 1.283 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.878, allocations: 11.98 kB / 1.283 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.878, allocations: 3.984 kB / 1.283 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.878, allocations: 0 / 1.283 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.603e-05/0.8781, allocations: 91.28 kB / 1.283 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8781, allocations: 0 / 1.283 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002178/0.8783, allocations: 8 kB / 1.283 GB, free: 8.246 MB / 0.9825 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.0007393/0.879, allocations: 0.7324 MB / 1.284 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000354/0.8794, allocations: 64.2 kB / 1.284 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.8794, allocations: 0 / 1.284 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.8795, allocations: 39.89 kB / 1.284 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.8799, allocations: 12 kB / 1.284 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/0.8804, allocations: 163.8 kB / 1.284 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.8807, allocations: 0.6845 MB / 1.285 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.955e-05/0.8807, allocations: 3.984 kB / 1.285 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.178e-05/0.8808, allocations: 15.44 kB / 1.285 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.8808, allocations: 0 / 1.285 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02452/0.9053, allocations: 1.641 MB / 1.286 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.881/8.786, allocations: 6.031 kB / 1.286 GB, free: 4.891 MB / 0.9825 GB " [Timeout remaining time 291] (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: 15.159357005963102]