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.001399/0.001399, allocations: 101.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.00155/0.00155, 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.509/1.509, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.824/2.824, allocations: 476.7 MB / 0.7672 GB, free: 5.207 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.002014/0.002014, allocations: 64.38 kB / 1.112 GB, free: 8.914 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.3347, allocations: 169.9 MB / 1.278 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001936/0.3366, allocations: 0.6702 MB / 1.279 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.3377, allocations: 0.8514 MB / 1.28 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.403e-05/0.3377, allocations: 0 / 1.28 GB, free: 3.535 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.492e-05/0.3377, allocations: 3.938 kB / 1.28 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.513e-05/0.3378, allocations: 7.938 kB / 1.28 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001701/0.338, allocations: 11.92 kB / 1.28 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.158e-05/0.338, allocations: 27.92 kB / 1.28 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.91e-05/0.3381, allocations: 3.984 kB / 1.28 GB, free: 3.48 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.339e-05/0.3382, allocations: 11.94 kB / 1.28 GB, free: 3.469 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.456e-05/0.3382, allocations: 15.98 kB / 1.28 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.3383, allocations: 0 / 1.28 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.965e-05/0.3383, allocations: 8 kB / 1.28 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.095e-05/0.3383, allocations: 7.938 kB / 1.28 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.613e-05/0.3383, allocations: 7.938 kB / 1.28 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.3385, allocations: 36.16 kB / 1.28 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3385, allocations: 0 / 1.28 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3385, allocations: 0 / 1.28 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.3385, allocations: 0 / 1.28 GB, free: 3.395 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.0004852/0.339, allocations: 335.5 kB / 1.28 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.339, allocations: 12.03 kB / 1.28 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.18e-05/0.339, allocations: 38.75 kB / 1.28 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.063e-05/0.3391, allocations: 4.938 kB / 1.28 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.3393, allocations: 164.3 kB / 1.28 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.614e-06/0.3393, allocations: 4.312 kB / 1.28 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.3393, allocations: 384 / 1.28 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.3395, allocations: 50.23 kB / 1.281 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3395, allocations: 3.938 kB / 1.281 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.3395, allocations: 0 / 1.281 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3395, allocations: 8 kB / 1.281 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.3397, allocations: 31.95 kB / 1.281 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003508/0.34, allocations: 248.8 kB / 1.281 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.3401, allocations: 46.47 kB / 1.281 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.315e-05/0.3402, allocations: 28.91 kB / 1.281 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.3403, allocations: 0 / 1.281 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.3403, allocations: 30.56 kB / 1.281 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.3403, allocations: 0 / 1.281 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.00037/0.3407, allocations: 85.58 kB / 1.281 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.793e-05/0.3407, allocations: 55.53 kB / 1.281 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.046e-05/0.3408, allocations: 97.84 kB / 1.281 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.3408, allocations: 25.7 kB / 1.281 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.3408, allocations: 88.14 kB / 1.281 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.3409, allocations: 3.953 kB / 1.281 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.3409, allocations: 9.719 kB / 1.281 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.341, allocations: 318.8 kB / 1.282 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.049e-05/0.3411, allocations: 19.97 kB / 1.282 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.823e-05/0.3412, allocations: 15.98 kB / 1.282 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.3414, allocations: 36.83 kB / 1.282 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.3414, allocations: 7.875 kB / 1.282 GB, free: 1.43 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002089/0.3416, allocations: 73.66 kB / 1.282 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.3416, allocations: 4 kB / 1.282 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.3416, allocations: 0 / 1.282 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3416, allocations: 0 / 1.282 GB, free: 1.348 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.524e-05/0.3417, allocations: 11.98 kB / 1.282 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.3417, allocations: 0 / 1.282 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.064e-05/0.3418, allocations: 7.984 kB / 1.282 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.3418, allocations: 0 / 1.282 GB, free: 1.328 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 7.959e-05/0.3418, allocations: 113.8 kB / 1.282 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.3419, allocations: 11.98 kB / 1.282 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.3421, allocations: 64.78 kB / 1.282 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3421, allocations: 7.875 kB / 1.282 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3421, allocations: 0 / 1.282 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3421, allocations: 4.188 kB / 1.282 GB, free: 1.109 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.3423, allocations: 161.6 kB / 1.282 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3423, allocations: 0 / 1.282 GB, free: 0.9023 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.076e-05/0.3423, allocations: 4 kB / 1.282 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.3424, allocations: 8.016 kB / 1.282 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-06/0.3424, allocations: 0 / 1.282 GB, free: 0.8906 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.3424, allocations: 11.98 kB / 1.282 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3424, allocations: 0 / 1.282 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.3426, allocations: 163.5 kB / 1.282 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.272e-05/0.3427, allocations: 77.11 kB / 1.282 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.3427, allocations: 4.031 kB / 1.282 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.855e-05/0.3428, allocations: 4 kB / 1.282 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.3428, allocations: 3.984 kB / 1.282 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.3428, allocations: 0 / 1.282 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.468e-05/0.3428, allocations: 83.28 kB / 1.282 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3428, allocations: 3.938 kB / 1.282 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002182/0.3431, allocations: 4 kB / 1.282 GB, free: 0.5078 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.0006008/0.3437, allocations: 0.7012 MB / 1.283 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002252/0.3439, allocations: 35.95 kB / 1.283 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/0.3439, allocations: 4.094 kB / 1.283 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.961e-05/0.344, allocations: 23.92 kB / 1.283 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.3443, allocations: 4 kB / 1.283 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004505/0.3447, allocations: 139.8 kB / 1.283 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.345, allocations: 0.6767 MB / 1.284 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.092e-05/0.3451, allocations: 3.938 kB / 1.284 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.3451, allocations: 19.48 kB / 1.284 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.3451, allocations: 0 / 1.284 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0242/0.3693, allocations: 1.277 MB / 1.285 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.201/8.57, allocations: 13.22 kB / 1.285 GB, free: 13.61 MB / 0.9981 GB " [Timeout remaining time 291] (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: 15.308834851020947]