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.001673/0.001673, allocations: 100.6 kB / 16.45 MB, free: 6.449 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.001983/0.001983, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.457/1.457, allocations: 230.6 MB / 252.8 MB, free: 9.105 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.274/3.274, allocations: 0.505 GB / 0.8066 GB, free: 23.05 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.002673/0.002673, allocations: 72.06 kB / 1.172 GB, free: 17.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3876, allocations: 180.2 MB / 1.348 GB, free: 9.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001865/0.3895, allocations: 0.6711 MB / 1.348 GB, free: 9.242 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.3905, allocations: 0.8553 MB / 1.349 GB, free: 8.375 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.005e-05/0.3905, allocations: 0 / 1.349 GB, free: 8.375 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.449e-05/0.3906, allocations: 0 / 1.349 GB, free: 8.375 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.825e-05/0.3906, allocations: 3.938 kB / 1.349 GB, free: 8.371 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.3908, allocations: 11.98 kB / 1.349 GB, free: 8.359 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.807e-05/0.3909, allocations: 23.92 kB / 1.349 GB, free: 8.336 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.734e-05/0.3909, allocations: 8 kB / 1.349 GB, free: 8.328 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.988e-05/0.391, allocations: 11.88 kB / 1.349 GB, free: 8.316 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.057e-05/0.391, allocations: 11.98 kB / 1.349 GB, free: 8.305 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.3911, allocations: 0 / 1.349 GB, free: 8.305 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.795e-05/0.3911, allocations: 4 kB / 1.349 GB, free: 8.301 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.3911, allocations: 23.91 kB / 1.349 GB, free: 8.277 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.3912, allocations: 7.938 kB / 1.349 GB, free: 8.27 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.3913, allocations: 24.19 kB / 1.349 GB, free: 8.246 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3913, allocations: 0 / 1.349 GB, free: 8.246 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3913, allocations: 0 / 1.349 GB, free: 8.246 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.3913, allocations: 0 / 1.349 GB, free: 8.246 MB / 1.045 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.000458/0.3917, allocations: 337.2 kB / 1.35 GB, free: 7.867 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.3918, allocations: 15.98 kB / 1.35 GB, free: 7.852 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.328e-05/0.3918, allocations: 34.75 kB / 1.35 GB, free: 7.809 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.443e-05/0.3919, allocations: 16.91 kB / 1.35 GB, free: 7.793 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.392, allocations: 164.3 kB / 1.35 GB, free: 7.594 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.392, allocations: 4.312 kB / 1.35 GB, free: 7.59 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-06/0.392, allocations: 384 / 1.35 GB, free: 7.59 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.3922, allocations: 50.23 kB / 1.35 GB, free: 7.535 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.3922, allocations: 7.875 kB / 1.35 GB, free: 7.527 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-06/0.3922, allocations: 0 / 1.35 GB, free: 7.527 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3922, allocations: 4 kB / 1.35 GB, free: 7.523 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.3924, allocations: 31.97 kB / 1.35 GB, free: 7.492 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.3928, allocations: 252.9 kB / 1.35 GB, free: 7.195 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.3929, allocations: 34.5 kB / 1.35 GB, free: 7.152 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.393, allocations: 24.91 kB / 1.35 GB, free: 7.125 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.393, allocations: 7.984 kB / 1.35 GB, free: 7.117 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.393, allocations: 34.5 kB / 1.35 GB, free: 7.074 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.393, allocations: 0 / 1.35 GB, free: 7.074 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003597/0.3934, allocations: 81.59 kB / 1.35 GB, free: 6.988 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.3934, allocations: 55.39 kB / 1.351 GB, free: 6.922 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.106e-05/0.3935, allocations: 97.98 kB / 1.351 GB, free: 6.816 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.3935, allocations: 29.7 kB / 1.351 GB, free: 6.781 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.3936, allocations: 80.14 kB / 1.351 GB, free: 6.699 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.3936, allocations: 11.94 kB / 1.351 GB, free: 6.688 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.3936, allocations: 17.7 kB / 1.351 GB, free: 6.664 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3938, allocations: 314.8 kB / 1.351 GB, free: 6.348 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.558e-05/0.3939, allocations: 11.98 kB / 1.351 GB, free: 6.336 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.268e-05/0.394, allocations: 23.92 kB / 1.351 GB, free: 6.312 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.3941, allocations: 40.81 kB / 1.351 GB, free: 6.27 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3941, allocations: 3.938 kB / 1.351 GB, free: 6.266 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002105/0.3943, allocations: 65.62 kB / 1.351 GB, free: 6.195 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.3944, allocations: 7.984 kB / 1.351 GB, free: 6.188 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3944, allocations: 0 / 1.351 GB, free: 6.188 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.3944, allocations: 4.094 kB / 1.351 GB, free: 6.184 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.972e-05/0.3945, allocations: 8 kB / 1.351 GB, free: 6.176 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.3945, allocations: 0 / 1.351 GB, free: 6.176 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.26e-05/0.3945, allocations: 7.984 kB / 1.351 GB, free: 6.168 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.3945, allocations: 0 / 1.351 GB, free: 6.168 MB / 1.045 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.079e-05/0.3946, allocations: 117.7 kB / 1.351 GB, free: 6.043 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.3946, allocations: 4 kB / 1.351 GB, free: 6.039 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.3949, allocations: 76.77 kB / 1.351 GB, free: 5.953 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3949, allocations: 3.938 kB / 1.351 GB, free: 5.949 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3949, allocations: 0 / 1.351 GB, free: 5.949 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3949, allocations: 0 / 1.351 GB, free: 5.949 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.3951, allocations: 161.6 kB / 1.352 GB, free: 5.742 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3951, allocations: 0 / 1.352 GB, free: 5.742 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.328e-05/0.3951, allocations: 7.984 kB / 1.352 GB, free: 5.734 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3951, allocations: 0 / 1.352 GB, free: 5.734 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.3951, allocations: 0 / 1.352 GB, free: 5.734 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.3952, allocations: 12.03 kB / 1.352 GB, free: 5.723 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3952, allocations: 192 / 1.352 GB, free: 5.723 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.3954, allocations: 163.4 kB / 1.352 GB, free: 5.547 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.12e-05/0.3955, allocations: 85.05 kB / 1.352 GB, free: 5.445 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.3955, allocations: 4 kB / 1.352 GB, free: 5.441 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.324e-05/0.3956, allocations: 12.02 kB / 1.352 GB, free: 5.43 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.217e-05/0.3956, allocations: 0 / 1.352 GB, free: 5.43 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.3956, allocations: 0 / 1.352 GB, free: 5.43 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.355e-05/0.3957, allocations: 83.27 kB / 1.352 GB, free: 5.348 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3957, allocations: 0 / 1.352 GB, free: 5.348 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002207/0.3959, allocations: 4 kB / 1.352 GB, free: 5.344 MB / 1.045 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.0005912/0.3965, allocations: 0.7045 MB / 1.353 GB, free: 4.609 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.3967, allocations: 31.97 kB / 1.353 GB, free: 4.578 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.3967, allocations: 4 kB / 1.353 GB, free: 4.574 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.073e-05/0.3968, allocations: 19.97 kB / 1.353 GB, free: 4.555 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.3971, allocations: 6.344 kB / 1.353 GB, free: 4.551 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004103/0.3975, allocations: 139.7 kB / 1.353 GB, free: 4.375 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.3978, allocations: 0.6806 MB / 1.353 GB, free: 3.668 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.133e-05/0.3978, allocations: 4 kB / 1.353 GB, free: 3.664 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.3978, allocations: 7.438 kB / 1.353 GB, free: 3.656 MB / 1.045 GB Notification: Performance of SimCode: time 3.1e-07/0.3978, allocations: 0 / 1.353 GB, free: 3.656 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02379/0.4216, allocations: 1.281 MB / 1.355 GB, free: 2.461 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.977/8.398, allocations: 10.38 kB / 1.355 GB, free: 2.453 MB / 1.045 GB " [Timeout remaining time 292] (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: 15.26389420288615]