Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00167/0.00167, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002108/0.002108, allocations: 212.4 kB / 22.24 MB, free: 4.855 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.64/1.64, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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 3.458/3.458, allocations: 0.5107 GB / 0.8158 GB, free: 17.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.Atan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,fileNamePrefix="Buildings_latest_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.002075/0.002075, allocations: 70.27 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3958, allocations: 181.9 MB / 1.363 GB, free: 13.97 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001903/0.3977, allocations: 0.6623 MB / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001137/0.3988, allocations: 0.8475 MB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.831e-05/0.3989, allocations: 7.938 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.976e-05/0.3989, allocations: 3.984 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.613e-05/0.399, allocations: 3.938 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.3992, allocations: 19.88 kB / 1.365 GB, free: 12.42 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.882e-05/0.3993, allocations: 19.98 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3994, allocations: 4 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.183e-05/0.3994, allocations: 15.92 kB / 1.365 GB, free: 12.38 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.626e-05/0.3995, allocations: 11.91 kB / 1.365 GB, free: 12.37 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.3995, allocations: 4 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.847e-05/0.3996, allocations: 4 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.3996, allocations: 4 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.3996, allocations: 11.94 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.3997, allocations: 20.19 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3997, allocations: 7.938 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3997, allocations: 4 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.3997, allocations: 0 / 1.365 GB, free: 12.31 MB / 1.061 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.0004946/0.4002, allocations: 254.4 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.4003, allocations: 16.02 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.597e-05/0.4003, allocations: 30.75 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.931e-05/0.4004, allocations: 4.891 kB / 1.365 GB, free: 11.97 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.4006, allocations: 106.5 kB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.4006, allocations: 384 / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.4006, allocations: 4.375 kB / 1.365 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.4008, allocations: 54.17 kB / 1.365 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.4008, allocations: 3.938 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.4008, allocations: 8 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4008, allocations: 0 / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.4009, allocations: 31.95 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003828/0.4013, allocations: 220 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.4015, allocations: 38.48 kB / 1.366 GB, free: 11.43 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.789e-05/0.4016, allocations: 24.91 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.4016, allocations: 3.938 kB / 1.366 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.4016, allocations: 34.56 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.041e-06/0.4016, allocations: 0 / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003631/0.402, allocations: 77.64 kB / 1.366 GB, free: 11.28 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.402, allocations: 51.41 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.105e-05/0.4021, allocations: 106 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.4021, allocations: 29.7 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/0.4022, allocations: 84.09 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.4022, allocations: 3.953 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.4023, allocations: 17.72 kB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.4024, allocations: 310.8 kB / 1.366 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.579e-05/0.4025, allocations: 23.91 kB / 1.367 GB, free: 10.62 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.708e-05/0.4026, allocations: 15.98 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001492/0.4027, allocations: 40.89 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.4027, allocations: 7.875 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000188/0.4029, allocations: 65.66 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.4029, allocations: 4 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4029, allocations: 3.938 kB / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.4029, allocations: 0 / 1.367 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.949e-05/0.403, allocations: 11.98 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.403, allocations: 4.031 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.759e-05/0.4031, allocations: 8 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.4031, allocations: 0 / 1.367 GB, free: 10.45 MB / 1.061 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.134e-05/0.4032, allocations: 122.4 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.4032, allocations: 4 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.4034, allocations: 68.97 kB / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.4034, allocations: 0 / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4035, allocations: 0 / 1.367 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.4035, allocations: 8.219 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.4036, allocations: 124.7 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-06/0.4036, allocations: 3.984 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.504e-05/0.4037, allocations: 7.984 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4037, allocations: 0 / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.4037, allocations: 8 kB / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4037, allocations: 0 / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4037, allocations: 0 / 1.367 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.4039, allocations: 171.3 kB / 1.367 GB, free: 9.863 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-06/0.4039, allocations: 0 / 1.367 GB, free: 9.863 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.404, allocations: 0 / 1.367 GB, free: 9.863 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.676e-05/0.404, allocations: 11.98 kB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.4041, allocations: 4 kB / 1.367 GB, free: 9.848 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.4041, allocations: 0 / 1.367 GB, free: 9.848 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.425e-05/0.4041, allocations: 79.28 kB / 1.367 GB, free: 9.77 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4041, allocations: 0 / 1.367 GB, free: 9.77 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002119/0.4043, allocations: 4 kB / 1.367 GB, free: 9.766 MB / 1.061 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.000566/0.4049, allocations: 0.6968 MB / 1.368 GB, free: 9.039 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002031/0.4051, allocations: 35.97 kB / 1.368 GB, free: 9.004 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.4051, allocations: 0 / 1.368 GB, free: 9.004 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.611e-05/0.4052, allocations: 19.98 kB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.4055, allocations: 10.31 kB / 1.368 GB, free: 8.977 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004489/0.406, allocations: 143.9 kB / 1.368 GB, free: 8.797 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.496e-05/0.406, allocations: 67.28 kB / 1.368 GB, free: 8.711 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.327e-05/0.406, allocations: 3.938 kB / 1.368 GB, free: 8.707 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.305e-05/0.4061, allocations: 7.438 kB / 1.368 GB, free: 8.699 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.4061, allocations: 0 / 1.368 GB, free: 8.699 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/0.4356, allocations: 1.808 MB / 1.37 GB, free: 7.027 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.91, allocations: 11.25 kB / 1.37 GB, free: 7.02 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_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_Atan.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.csv. Warning: Get data of variable atan1.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.34689239319414]