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.001268/0.001268, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001464/0.001464, allocations: 216.9 kB / 23.04 MB, free: 5.074 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.538/1.538, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.365/3.365, allocations: 0.5003 GB / 0.8061 GB, free: 26.74 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan",fmuType="cs",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.002067/0.002067, allocations: 60.14 kB / 1.171 GB, free: 19.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4166/0.4187, allocations: 179 MB / 1.345 GB, free: 400 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002049/0.4207, allocations: 0.6788 MB / 1.346 GB, free: 15.71 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001199/0.4219, allocations: 0.8553 MB / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.762e-05/0.4219, allocations: 4 kB / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.769e-05/0.422, allocations: 0 / 1.347 GB, free: 14.84 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.188e-05/0.422, allocations: 7.922 kB / 1.347 GB, free: 14.83 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.4222, allocations: 11.98 kB / 1.347 GB, free: 14.82 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.518e-05/0.4223, allocations: 23.94 kB / 1.347 GB, free: 14.8 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.754e-05/0.4224, allocations: 7.984 kB / 1.347 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 5.737e-05/0.4224, allocations: 7.938 kB / 1.347 GB, free: 14.78 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.924e-05/0.4224, allocations: 15.92 kB / 1.347 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.4225, allocations: 4 kB / 1.347 GB, free: 14.76 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.05e-05/0.4225, allocations: 4 kB / 1.347 GB, free: 14.76 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.4225, allocations: 11.92 kB / 1.347 GB, free: 14.75 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.4226, allocations: 11.94 kB / 1.347 GB, free: 14.73 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.4227, allocations: 24.17 kB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.4227, allocations: 0 / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4227, allocations: 0 / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.4227, allocations: 8 kB / 1.347 GB, free: 14.7 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.000446/0.4231, allocations: 258.3 kB / 1.347 GB, free: 14.42 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.4232, allocations: 8.031 kB / 1.347 GB, free: 14.41 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.481e-05/0.4232, allocations: 8.125 kB / 1.347 GB, free: 14.4 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.091e-05/0.4232, allocations: 30.75 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.042e-05/0.4233, allocations: 0.9375 kB / 1.347 GB, free: 14.36 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.4234, allocations: 114.4 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-06/0.4234, allocations: 384 / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.4234, allocations: 8.375 kB / 1.347 GB, free: 14.22 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.4236, allocations: 49.98 kB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.4236, allocations: 0 / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.4236, allocations: 7.938 kB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.4236, allocations: 4 kB / 1.347 GB, free: 14.15 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.4238, allocations: 31.95 kB / 1.348 GB, free: 14.12 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003296/0.4241, allocations: 223.9 kB / 1.348 GB, free: 13.86 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.4242, allocations: 38.55 kB / 1.348 GB, free: 13.81 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.177e-05/0.4243, allocations: 20.91 kB / 1.348 GB, free: 13.79 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.4244, allocations: 0 / 1.348 GB, free: 13.79 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.4244, allocations: 34.5 kB / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.4244, allocations: 4 kB / 1.348 GB, free: 13.74 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003547/0.4247, allocations: 81.64 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.4248, allocations: 51.41 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.882e-05/0.4249, allocations: 97.86 kB / 1.348 GB, free: 13.49 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.4249, allocations: 25.7 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.4249, allocations: 88.12 kB / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.4249, allocations: 8.078 kB / 1.348 GB, free: 13.36 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.385e-05/0.425, allocations: 13.72 kB / 1.348 GB, free: 13.34 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.4251, allocations: 314.8 kB / 1.348 GB, free: 13.02 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.557e-05/0.4252, allocations: 15.98 kB / 1.348 GB, free: 13.01 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.614e-05/0.4253, allocations: 19.91 kB / 1.348 GB, free: 12.99 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.4255, allocations: 44.83 kB / 1.349 GB, free: 12.94 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4255, allocations: 0 / 1.349 GB, free: 12.94 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002054/0.4257, allocations: 73.61 kB / 1.349 GB, free: 12.86 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.4257, allocations: 4 kB / 1.349 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.4257, allocations: 0 / 1.349 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.4257, allocations: 0 / 1.349 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.807e-05/0.4258, allocations: 15.98 kB / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.4258, allocations: 0 / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.809e-05/0.4258, allocations: 8.031 kB / 1.349 GB, free: 12.84 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.4258, allocations: 3.938 kB / 1.349 GB, free: 12.83 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.14e-05/0.4259, allocations: 117.8 kB / 1.349 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.4259, allocations: 3.938 kB / 1.349 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.4262, allocations: 68.97 kB / 1.349 GB, free: 12.63 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4262, allocations: 192 / 1.349 GB, free: 12.63 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4262, allocations: 8.031 kB / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.4262, allocations: 3.984 kB / 1.349 GB, free: 12.62 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.4264, allocations: 132.7 kB / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4264, allocations: 0 / 1.349 GB, free: 12.45 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.876e-05/0.4264, allocations: 11.92 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.4264, allocations: 4 kB / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.4264, allocations: 0 / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4264, allocations: 0 / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4264, allocations: 0 / 1.349 GB, free: 12.43 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.4267, allocations: 171.4 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.987e-06/0.4267, allocations: 3.953 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.4267, allocations: 3.984 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.509e-05/0.4268, allocations: 4 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.481e-05/0.4268, allocations: 7.984 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.4268, allocations: 0 / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.912e-05/0.4269, allocations: 87.31 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4269, allocations: 0 / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002167/0.4271, allocations: 4 kB / 1.349 GB, free: 12.14 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.0005594/0.4277, allocations: 0.6929 MB / 1.35 GB, free: 11.41 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002063/0.4279, allocations: 35.95 kB / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4279, allocations: 0 / 1.35 GB, free: 11.38 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.577e-05/0.4279, allocations: 15.98 kB / 1.35 GB, free: 11.36 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.4282, allocations: 13.66 kB / 1.35 GB, free: 11.35 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004513/0.4287, allocations: 136.1 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.429, allocations: 0.6805 MB / 1.351 GB, free: 10.47 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.059e-05/0.429, allocations: 3.938 kB / 1.351 GB, free: 10.46 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.4291, allocations: 11.44 kB / 1.351 GB, free: 10.45 MB / 1.045 GB Notification: Performance of SimCode: time 4.21e-07/0.4291, allocations: 0 / 1.351 GB, free: 10.45 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02135/0.4504, allocations: 1.416 MB / 1.352 GB, free: 9.184 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.83, allocations: 12.98 kB / 1.352 GB, free: 9.172 MB / 1.045 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.002776895998977]