Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.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.001265/0.001265, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001446/0.001446, allocations: 215.2 kB / 22.25 MB, free: 5.262 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.521/1.521, allocations: 230.6 MB / 256 MB, free: 7.801 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.854/2.854, allocations: 476 MB / 0.7699 GB, free: 4.738 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.Atan,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan",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.002105/0.002105, allocations: 68.44 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3337, allocations: 169.9 MB / 1.283 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002034/0.3357, allocations: 0.6719 MB / 1.283 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.3369, allocations: 0.8355 MB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.353e-05/0.3369, allocations: 0 / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.472e-05/0.3369, allocations: 4 kB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.453e-05/0.337, allocations: 15.92 kB / 1.284 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.3371, allocations: 8 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.062e-05/0.3372, allocations: 23.91 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.158e-05/0.3373, allocations: 4 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.127e-05/0.3374, allocations: 11.92 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.995e-05/0.3374, allocations: 11.94 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.3374, allocations: 4 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.567e-05/0.3375, allocations: 11.98 kB / 1.284 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.587e-05/0.3375, allocations: 4 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.595e-05/0.3375, allocations: 0 / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.3376, allocations: 47.33 kB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3376, allocations: 0 / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3376, allocations: 0 / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.3376, allocations: 0 / 1.284 GB, free: 10.82 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004947/0.3381, allocations: 264 kB / 1.284 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.3382, allocations: 8.031 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.479e-05/0.3382, allocations: 38.73 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.595e-05/0.3383, allocations: 0.9375 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.3384, allocations: 106.5 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.3384, allocations: 384 / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.3384, allocations: 4.375 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.3386, allocations: 50.23 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3386, allocations: 3.938 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.3386, allocations: 7.875 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3386, allocations: 0 / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.3388, allocations: 39.89 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.3391, allocations: 216 kB / 1.285 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.3393, allocations: 42.5 kB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.243e-05/0.3393, allocations: 28.89 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.3394, allocations: 0 / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.3394, allocations: 30.56 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.3394, allocations: 0 / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000355/0.3398, allocations: 85.58 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.3398, allocations: 55.53 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.3399, allocations: 97.86 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.3399, allocations: 29.7 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.34, allocations: 88.06 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.34, allocations: 3.953 kB / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.128e-05/0.34, allocations: 13.72 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3402, allocations: 314.8 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.928e-05/0.3403, allocations: 11.98 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.213e-05/0.3403, allocations: 23.97 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.3405, allocations: 44.83 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.3405, allocations: 3.938 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001832/0.3407, allocations: 61.66 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3407, allocations: 10.5 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3407, allocations: 0 / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3407, allocations: 0 / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.861e-05/0.3408, allocations: 12.02 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.3408, allocations: 0 / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.175e-05/0.3408, allocations: 4 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.3408, allocations: 4 kB / 1.286 GB, free: 8.957 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 (2): * Single equations (assignments): 2 * 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 8.733e-05/0.3409, allocations: 117.8 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.3409, allocations: 3.953 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002204/0.3412, allocations: 72.91 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3412, allocations: 4.031 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3412, allocations: 0 / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3412, allocations: 0 / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.3413, allocations: 128.7 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3413, allocations: 7.938 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-05/0.3414, allocations: 11.98 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3414, allocations: 0 / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.3414, allocations: 0 / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3414, allocations: 0 / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.3414, allocations: 4 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.3417, allocations: 175.3 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.231e-06/0.3417, allocations: 0 / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.3417, allocations: 0 / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.233e-05/0.3418, allocations: 4 kB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.3418, allocations: 7.984 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.3418, allocations: 4 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.574e-05/0.3418, allocations: 79.28 kB / 1.286 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5e-08/0.3418, allocations: 0 / 1.286 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002195/0.3421, allocations: 4 kB / 1.286 GB, free: 8.273 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 (2): * Single equations (assignments): 2 * 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.0005764/0.3426, allocations: 0.6929 MB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002024/0.3428, allocations: 39.91 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3428, allocations: 0 / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.625e-05/0.3429, allocations: 19.98 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.3432, allocations: 8.141 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004303/0.3437, allocations: 135.9 kB / 1.287 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.429e-05/0.3437, allocations: 59.36 kB / 1.287 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.232e-05/0.3438, allocations: 3.984 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.951e-05/0.3438, allocations: 11.44 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of SimCode: time 2.7e-07/0.3438, allocations: 0 / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03044/0.3742, allocations: 1.797 MB / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.75, allocations: 13.11 kB / 1.289 GB, free: 5.535 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_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_Atan.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable atan1.u in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.csv. Warning: Get data of variable atan1.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.648781986907125]