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.0008776/0.0008776, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009987/0.0009987, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.912/0.912, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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 1.788/1.788, allocations: 389 MB / 0.633 GB, free: 12.67 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 0.9997 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.409e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.4 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001403/0.001427, allocations: 0.6964 MB / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008503/0.002277, allocations: 0.8549 MB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.723e-05/0.002314, allocations: 0 / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.002346, allocations: 7.922 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.209e-05/0.002408, allocations: 7.938 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.002603, allocations: 27.84 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.842e-05/0.002681, allocations: 55.78 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.305e-05/0.002774, allocations: 4 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.637e-05/0.00285, allocations: 27.92 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.952e-05/0.00289, allocations: 15.97 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.002906, allocations: 4 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.589e-05/0.002952, allocations: 11.98 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.002969, allocations: 7.938 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.955e-05/0.002988, allocations: 11.98 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.003105, allocations: 55.8 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.003108, allocations: 3.984 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.663e-06/0.00311, allocations: 0 / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.003114, allocations: 0 / 1.001 GB, free: 11.61 MB / 0.9636 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.0003794/0.003493, allocations: 282.3 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.003534, allocations: 8.75 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.387e-05/0.003568, allocations: 34.75 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.907e-05/0.003637, allocations: 8.891 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.188e-05/0.003719, allocations: 113.7 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.00373, allocations: 12.31 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.003738, allocations: 384 / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.003914, allocations: 70.22 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.00392, allocations: 192 / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.003931, allocations: 4.359 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.003937, allocations: 4.125 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.004083, allocations: 67.92 kB / 1.002 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002927/0.004376, allocations: 228.1 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.004498, allocations: 58.47 kB / 1.002 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.464e-05/0.004572, allocations: 32.92 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.004596, allocations: 7.922 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.032e-05/0.004616, allocations: 38.56 kB / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.004617, allocations: 0 / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003183/0.004935, allocations: 129.5 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/0.004964, allocations: 55.34 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.425e-05/0.005029, allocations: 113.8 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.00504, allocations: 25.7 kB / 1.003 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.592e-05/0.005076, allocations: 88.12 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.005093, allocations: 11.95 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.005123, allocations: 17.72 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.566e-05/0.005199, allocations: 314.8 kB / 1.003 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.862e-05/0.005278, allocations: 35.89 kB / 1.003 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.723e-05/0.005345, allocations: 31.97 kB / 1.003 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.005483, allocations: 68.78 kB / 1.003 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.005485, allocations: 0 / 1.003 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001741/0.005659, allocations: 109.4 kB / 1.003 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.005673, allocations: 8 kB / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.005678, allocations: 0 / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.005692, allocations: 3.984 kB / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.421e-05/0.005786, allocations: 19.98 kB / 1.003 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.005791, allocations: 0 / 1.003 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.643e-05/0.005828, allocations: 7.984 kB / 1.003 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.005834, allocations: 4 kB / 1.003 GB, free: 9.434 MB / 0.9636 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.994e-05/0.005894, allocations: 109.8 kB / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.00591, allocations: 7.938 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002118/0.006122, allocations: 113.5 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.006126, allocations: 3.984 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.00613, allocations: 0 / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.006133, allocations: 0 / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003959/0.006529, allocations: 132.7 kB / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.006531, allocations: 0 / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.117e-05/0.006582, allocations: 23.86 kB / 1.004 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.006585, allocations: 384 / 1.004 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.006594, allocations: 4 kB / 1.004 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.006596, allocations: 0 / 1.004 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.006597, allocations: 4 kB / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.006803, allocations: 196.2 kB / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.486e-06/0.006811, allocations: 3.938 kB / 1.004 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.006823, allocations: 0 / 1.004 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.194e-05/0.006875, allocations: 11.98 kB / 1.004 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.006913, allocations: 7.984 kB / 1.004 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.006917, allocations: 12 kB / 1.004 GB, free: 8.734 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.089e-05/0.006948, allocations: 87.27 kB / 1.004 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006948, allocations: 0 / 1.004 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001567/0.007105, allocations: 11.95 kB / 1.004 GB, free: 8.637 MB / 0.9636 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.0004179/0.007523, allocations: 0.7162 MB / 1.005 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.007737, allocations: 79.91 kB / 1.005 GB, free: 7.816 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.007738, allocations: 3.938 kB / 1.005 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.526e-05/0.007814, allocations: 35.91 kB / 1.005 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.008112, allocations: 7.938 kB / 1.005 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.008528, allocations: 158.4 kB / 1.005 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.514e-05/0.008573, allocations: 71.28 kB / 1.005 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.723e-05/0.008601, allocations: 7.984 kB / 1.005 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.398e-05/0.008645, allocations: 16.44 kB / 1.005 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of SimCode: time 6.72e-07/0.008645, allocations: 0 / 1.005 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01669/0.02534, allocations: 2.322 MB / 1.007 GB, free: 5.273 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.624/6.649, allocations: 5.891 kB / 1.007 GB, free: 5.27 MB / 0.9636 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins/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] "Error: Could not read variable atan2_1.u1 in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.csv. Warning: Get data of variable atan2_1.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.csv failed! Error: Could not read variable atan2_1.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.csv. Warning: Get data of variable atan2_1.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.861109506338835]