Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001805/0.001805, allocations: 111 kB / 16.46 MB, free: 6.453 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.002295/0.002295, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.533/1.533, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.351/3.351, allocations: 0.49 GB / 0.7916 GB, free: 33.39 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.Atan,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,fileNamePrefix="Buildings_12_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.002952/0.002952, allocations: 69.81 kB / 1.149 GB, free: 26.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4108, allocations: 176.1 MB / 1.321 GB, free: 3.293 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002224/0.413, allocations: 0.6694 MB / 1.322 GB, free: 2.629 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.4142, allocations: 0.8514 MB / 1.322 GB, free: 1.766 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.352e-05/0.4143, allocations: 4 kB / 1.322 GB, free: 1.762 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.411e-05/0.4143, allocations: 0 / 1.322 GB, free: 1.762 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.198e-05/0.4144, allocations: 7.875 kB / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.4146, allocations: 15.98 kB / 1.322 GB, free: 1.738 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.577e-05/0.4147, allocations: 31.86 kB / 1.322 GB, free: 1.707 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.4148, allocations: 8 kB / 1.322 GB, free: 1.699 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.138e-05/0.4149, allocations: 3.984 kB / 1.322 GB, free: 1.695 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.527e-05/0.4149, allocations: 15.92 kB / 1.322 GB, free: 1.68 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.4149, allocations: 4 kB / 1.322 GB, free: 1.676 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.734e-05/0.415, allocations: 4 kB / 1.322 GB, free: 1.672 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.566e-05/0.415, allocations: 4 kB / 1.322 GB, free: 1.668 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.261e-05/0.415, allocations: 15.92 kB / 1.322 GB, free: 1.652 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.4152, allocations: 20.19 kB / 1.322 GB, free: 1.633 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4152, allocations: 3.938 kB / 1.322 GB, free: 1.629 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.512e-06/0.4152, allocations: 0 / 1.322 GB, free: 1.629 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.4152, allocations: 7.938 kB / 1.322 GB, free: 1.621 MB / 1.014 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.0005399/0.4157, allocations: 339.5 kB / 1.323 GB, free: 1.238 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.4158, allocations: 11.98 kB / 1.323 GB, free: 1.227 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.255e-05/0.4158, allocations: 30.75 kB / 1.323 GB, free: 1.188 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.176e-05/0.4159, allocations: 4.938 kB / 1.323 GB, free: 1.184 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.4161, allocations: 172.3 kB / 1.323 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.4161, allocations: 4.375 kB / 1.323 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.4161, allocations: 384 / 1.323 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.4163, allocations: 54.23 kB / 1.323 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.4163, allocations: 3.938 kB / 1.323 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.4163, allocations: 3.984 kB / 1.323 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4163, allocations: 0 / 1.323 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.4165, allocations: 35.91 kB / 1.323 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.4169, allocations: 256.9 kB / 1.323 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.4171, allocations: 38.5 kB / 1.323 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.705e-05/0.4172, allocations: 20.91 kB / 1.323 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.4172, allocations: 0 / 1.323 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.4172, allocations: 30.56 kB / 1.323 GB, free: 472 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.502e-06/0.4172, allocations: 0 / 1.323 GB, free: 472 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0003844/0.4176, allocations: 89.58 kB / 1.324 GB, free: 376 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.4176, allocations: 51.41 kB / 1.324 GB, free: 312 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.345e-05/0.4177, allocations: 105.8 kB / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.4178, allocations: 25.7 kB / 1.324 GB, free: 164 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.752e-05/0.4178, allocations: 80.14 kB / 1.324 GB, free: 80 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.4178, allocations: 3.953 kB / 1.324 GB, free: 76 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.393e-05/0.4179, allocations: 21.84 kB / 1.324 GB, free: 48 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.418, allocations: 314.8 kB / 1.324 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.715e-05/0.4181, allocations: 15.98 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.586e-05/0.4182, allocations: 15.98 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.4184, allocations: 44.69 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.4184, allocations: 8 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002193/0.4186, allocations: 61.67 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.4186, allocations: 4 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.4186, allocations: 7.938 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.4186, allocations: 3.984 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.315e-05/0.4187, allocations: 4 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.4187, allocations: 0 / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.509e-05/0.4188, allocations: 7.984 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.4188, allocations: 8.031 kB / 1.324 GB, free: 15.54 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 (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 9.177e-05/0.4189, allocations: 113.8 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.4189, allocations: 3.953 kB / 1.324 GB, free: 15.42 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.4192, allocations: 76.72 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4192, allocations: 0 / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4192, allocations: 0 / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.4192, allocations: 8.016 kB / 1.324 GB, free: 15.33 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/0.4194, allocations: 157.6 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.4194, allocations: 0 / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.371e-05/0.4194, allocations: 11.98 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.4194, allocations: 0 / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.4194, allocations: 0 / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4194, allocations: 0 / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4194, allocations: 0 / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.4197, allocations: 167.4 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.507e-05/0.4198, allocations: 81.11 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.4198, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.649e-05/0.4199, allocations: 7.984 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.4199, allocations: 4 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.4199, allocations: 4 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.689e-05/0.42, allocations: 79.28 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.42, allocations: 0 / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002196/0.4202, allocations: 8.031 kB / 1.325 GB, free: 14.73 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 (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.0006616/0.4208, allocations: 0.6967 MB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002371/0.4211, allocations: 47.94 kB / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4211, allocations: 0 / 1.326 GB, free: 13.96 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.599e-05/0.4212, allocations: 15.97 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.4214, allocations: 4 kB / 1.326 GB, free: 13.94 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004956/0.4219, allocations: 139.7 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.4223, allocations: 0.6846 MB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.443e-05/0.4223, allocations: 336 / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/0.4223, allocations: 15.38 kB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of SimCode: time 4.41e-07/0.4223, allocations: 0 / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02862/0.451, allocations: 1.275 MB / 1.328 GB, free: 11.85 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.99/8.441, allocations: 1.828 kB / 1.328 GB, free: 11.85 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Atan.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.csv. Warning: Get data of variable atan1.u from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.38047937513329]