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.001641/0.001641, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.00204/0.00204, allocations: 220.8 kB / 22.26 MB, free: 5.125 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.624/1.624, allocations: 230.6 MB / 256 MB, free: 7.996 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.943/2.943, allocations: 476.8 MB / 0.7707 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 176] 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.002378/0.002378, allocations: 64.11 kB / 1.117 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3413, allocations: 170 MB / 1.283 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001873/0.3432, allocations: 0.6692 MB / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.3442, allocations: 0.855 MB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.548e-05/0.3443, allocations: 0 / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.955e-05/0.3443, allocations: 3.938 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.971e-05/0.3444, allocations: 4 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.3445, allocations: 11.92 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.413e-05/0.3446, allocations: 27.92 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.849e-05/0.3447, allocations: 0 / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.003e-05/0.3448, allocations: 15.94 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.334e-05/0.3448, allocations: 15.91 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.3448, allocations: 0 / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.542e-05/0.3449, allocations: 8 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.3449, allocations: 7.938 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.375e-05/0.3449, allocations: 11.92 kB / 1.285 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.345, allocations: 31.42 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.345, allocations: 0 / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.132e-06/0.345, allocations: 0 / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.345, allocations: 0 / 1.285 GB, free: 10 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.0004459/0.3455, allocations: 267 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.3455, allocations: 8.031 kB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.657e-05/0.3455, allocations: 34.75 kB / 1.285 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.324e-05/0.3456, allocations: 4.938 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.3457, allocations: 106.5 kB / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-06/0.3457, allocations: 384 / 1.285 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.3457, allocations: 4.375 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.3459, allocations: 50.19 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.3459, allocations: 7.938 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.3459, allocations: 3.984 kB / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3459, allocations: 0 / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.3461, allocations: 31.97 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.3465, allocations: 220 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.3466, allocations: 46.53 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.442e-05/0.3467, allocations: 24.84 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.3467, allocations: 3.984 kB / 1.286 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.3468, allocations: 30.56 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3468, allocations: 0 / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003869/0.3472, allocations: 85.73 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.3472, allocations: 51.41 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.78e-05/0.3473, allocations: 101.8 kB / 1.286 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.3473, allocations: 25.7 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/0.3474, allocations: 88.08 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.3474, allocations: 3.953 kB / 1.286 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.3475, allocations: 13.72 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.3476, allocations: 314.8 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.591e-05/0.3477, allocations: 23.94 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.667e-05/0.3478, allocations: 19.98 kB / 1.287 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.3479, allocations: 32.83 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3479, allocations: 7.875 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001987/0.3481, allocations: 69.72 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.3481, allocations: 4 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3481, allocations: 4 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3482, allocations: 0 / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.3483, allocations: 7.984 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.3483, allocations: 0 / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.914e-05/0.3483, allocations: 11.92 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3483, allocations: 7.938 kB / 1.287 GB, free: 8.121 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 0.0001091/0.3485, allocations: 121.8 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.3485, allocations: 3.953 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.3487, allocations: 68.97 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3487, allocations: 0 / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.3487, allocations: 0 / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3488, allocations: 0 / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.3489, allocations: 132.7 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3489, allocations: 0 / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.19e-05/0.349, allocations: 12.03 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.349, allocations: 0 / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.349, allocations: 0 / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.349, allocations: 0 / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.349, allocations: 3.984 kB / 1.287 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.3493, allocations: 163.4 kB / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-06/0.3493, allocations: 8.016 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.3493, allocations: 4 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.381e-05/0.3494, allocations: 4 kB / 1.287 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.3494, allocations: 7.984 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.3494, allocations: 0 / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.939e-05/0.3495, allocations: 79.28 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3495, allocations: 0 / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002195/0.3497, allocations: 4 kB / 1.287 GB, free: 7.449 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.0006668/0.3504, allocations: 0.6967 MB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000233/0.3506, allocations: 39.98 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3506, allocations: 4.062 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.228e-05/0.3507, allocations: 15.98 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.3511, allocations: 6.344 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005484/0.3516, allocations: 143.8 kB / 1.288 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.352, allocations: 0.6729 MB / 1.289 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.166e-05/0.3521, allocations: 4.062 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.436e-05/0.3521, allocations: 19.42 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3521, allocations: 0 / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02889/0.381, allocations: 1.372 MB / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.08, allocations: 10.69 kB / 1.29 GB, free: 4.508 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.18565934000071]