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.001855/0.001855, 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.002458/0.002458, allocations: 216 kB / 22.25 MB, free: 4.852 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.805 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.85/2.85, allocations: 476 MB / 0.7699 GB, free: 4.961 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.002197/0.002197, allocations: 69.23 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3404, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001924/0.3423, allocations: 0.6615 MB / 1.283 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.3433, allocations: 0.8433 MB / 1.284 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.114e-05/0.3433, allocations: 0 / 1.284 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.881e-05/0.3433, allocations: 3.938 kB / 1.284 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.77e-05/0.3434, allocations: 12 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.3436, allocations: 11.92 kB / 1.284 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.36e-05/0.3436, allocations: 23.92 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.568e-05/0.3437, allocations: 4 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.064e-05/0.3438, allocations: 7.938 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.134e-05/0.3438, allocations: 15.92 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.3438, allocations: 4 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.309e-05/0.3439, allocations: 4 kB / 1.284 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.61e-05/0.3439, allocations: 7.984 kB / 1.284 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.839e-05/0.3439, allocations: 3.938 kB / 1.284 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.913e-05/0.344, allocations: 37.16 kB / 1.284 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.344, allocations: 7.938 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.783e-06/0.344, allocations: 0 / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.344, allocations: 0 / 1.284 GB, free: 10.8 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.0004188/0.3444, allocations: 262.3 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3445, allocations: 8.031 kB / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.905e-05/0.3445, allocations: 30.75 kB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.924e-05/0.3446, allocations: 8.875 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.3447, allocations: 106.5 kB / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.3447, allocations: 384 / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/0.3447, allocations: 384 / 1.285 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.3449, allocations: 58.17 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.3449, allocations: 3.938 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.3449, allocations: 0 / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3449, allocations: 0 / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001783/0.3451, allocations: 35.95 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.3454, allocations: 220 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.3455, allocations: 42.44 kB / 1.285 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.627e-05/0.3456, allocations: 28.91 kB / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.3456, allocations: 0 / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.3457, allocations: 30.56 kB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3457, allocations: 0 / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003425/0.346, allocations: 81.64 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.3461, allocations: 51.41 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.958e-05/0.3461, allocations: 102 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.3462, allocations: 33.7 kB / 1.285 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.884e-05/0.3462, allocations: 84.08 kB / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.3462, allocations: 7.938 kB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-05/0.3463, allocations: 17.66 kB / 1.285 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3464, allocations: 318.8 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.892e-05/0.3465, allocations: 11.98 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.398e-05/0.3465, allocations: 19.98 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.3467, allocations: 40.88 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3467, allocations: 7.938 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000189/0.3469, allocations: 57.67 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3469, allocations: 8 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.3469, allocations: 0 / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.3469, allocations: 0 / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.634e-05/0.347, allocations: 7.984 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.347, allocations: 7.969 kB / 1.286 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.824e-05/0.3471, allocations: 7.984 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.3471, allocations: 4 kB / 1.286 GB, free: 8.938 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.716e-05/0.3471, allocations: 113.8 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.3472, allocations: 11.83 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.3474, allocations: 68.97 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3474, allocations: 0 / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3474, allocations: 4.031 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3474, allocations: 192 / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.3476, allocations: 128.7 kB / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3476, allocations: 0 / 1.286 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-05/0.3476, allocations: 11.98 kB / 1.286 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3476, allocations: 3.984 kB / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.3476, allocations: 0 / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3476, allocations: 0 / 1.286 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3476, allocations: 3.938 kB / 1.286 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.3479, allocations: 171.5 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-06/0.3479, allocations: 0 / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.3479, allocations: 0 / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.601e-05/0.348, allocations: 7.984 kB / 1.286 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.294e-05/0.348, allocations: 4 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.348, allocations: 8 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.405e-05/0.348, allocations: 79.27 kB / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.348, allocations: 0 / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000209/0.3483, allocations: 4 kB / 1.286 GB, free: 8.258 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.0005601/0.3488, allocations: 0.6986 MB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002042/0.349, allocations: 39.95 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.349, allocations: 0 / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.446e-05/0.3491, allocations: 15.98 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.3494, allocations: 10.19 kB / 1.287 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004326/0.3498, allocations: 139.8 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.065e-05/0.3499, allocations: 59.34 kB / 1.287 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.043e-05/0.3499, allocations: 4 kB / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.3499, allocations: 11.44 kB / 1.287 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3499, allocations: 0 / 1.287 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02911/0.3791, allocations: 1.799 MB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.59, allocations: 4.812 kB / 1.289 GB, free: 5.523 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.31314199184999]