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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004982/0.004982, allocations: 102.5 kB / 15.73 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 192 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.926/2.926, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 71.89 kB / 1.054 GB, free: 7.594 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3252, allocations: 157.4 MB / 1.207 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002168/0.3274, allocations: 0.665 MB / 1.208 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001069/0.3285, allocations: 0.8079 MB / 1.209 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.435e-05/0.3286, allocations: 4 kB / 1.209 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.96e-05/0.3287, allocations: 0 / 1.209 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.904e-05/0.3287, allocations: 3.938 kB / 1.209 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.3289, allocations: 7.984 kB / 1.209 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.351e-05/0.329, allocations: 23.94 kB / 1.209 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.3291, allocations: 3.984 kB / 1.209 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.768e-05/0.3292, allocations: 11.94 kB / 1.209 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.76e-05/0.3292, allocations: 19.97 kB / 1.209 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.3293, allocations: 0 / 1.209 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.985e-06/0.3293, allocations: 4 kB / 1.209 GB, free: 8.527 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.3293, allocations: 3.938 kB / 1.209 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/0.3293, allocations: 8 kB / 1.209 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.823e-05/0.3294, allocations: 27.83 kB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3294, allocations: 0 / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3294, allocations: 0 / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.3295, allocations: 3.938 kB / 1.209 GB, free: 8.484 MB / 0.9669 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.0004719/0.3299, allocations: 343.7 kB / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.33, allocations: 12.62 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.166e-05/0.33, allocations: 30.75 kB / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.306e-05/0.3301, allocations: 0.9375 kB / 1.209 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.3302, allocations: 164.4 kB / 1.209 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.3302, allocations: 384 / 1.209 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.3302, allocations: 4.375 kB / 1.209 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.3304, allocations: 46.23 kB / 1.209 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.3304, allocations: 3.938 kB / 1.209 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.3304, allocations: 8 kB / 1.209 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.3305, allocations: 3.938 kB / 1.209 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.3306, allocations: 39.89 kB / 1.21 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.331, allocations: 244.9 kB / 1.21 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.3311, allocations: 38.5 kB / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.3312, allocations: 24.89 kB / 1.21 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.3312, allocations: 7.984 kB / 1.21 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.3313, allocations: 30.56 kB / 1.21 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.3313, allocations: 3.938 kB / 1.21 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003719/0.3317, allocations: 85.73 kB / 1.21 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.3317, allocations: 51.41 kB / 1.21 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.644e-05/0.3318, allocations: 97.86 kB / 1.21 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.3318, allocations: 25.7 kB / 1.21 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.3319, allocations: 88.11 kB / 1.21 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.3319, allocations: 7.906 kB / 1.21 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.332, allocations: 13.72 kB / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3321, allocations: 314.8 kB / 1.211 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.703e-05/0.3322, allocations: 20.02 kB / 1.211 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.542e-05/0.3323, allocations: 15.97 kB / 1.211 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.3325, allocations: 40.77 kB / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3325, allocations: 3.938 kB / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000204/0.3327, allocations: 69.72 kB / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.3327, allocations: 4 kB / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3327, allocations: 0 / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3327, allocations: 0 / 1.211 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.3329, allocations: 15.98 kB / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3329, allocations: 0 / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.113e-05/0.3329, allocations: 8 kB / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.3329, allocations: 0 / 1.211 GB, free: 6.418 MB / 0.9669 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 9.844e-05/0.333, allocations: 117.8 kB / 1.211 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.3331, allocations: 4 kB / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002465/0.3333, allocations: 72.72 kB / 1.211 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3333, allocations: 3.938 kB / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3333, allocations: 0 / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3334, allocations: 0 / 1.211 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.3335, allocations: 161.5 kB / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3335, allocations: 4 kB / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.012e-05/0.3336, allocations: 15.95 kB / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.3336, allocations: 0 / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.3336, allocations: 0 / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3336, allocations: 0 / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3336, allocations: 4 kB / 1.211 GB, free: 5.98 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.3339, allocations: 163.4 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.3339, allocations: 89.08 kB / 1.211 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.334, allocations: 3.984 kB / 1.211 GB, free: 5.695 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.303e-05/0.334, allocations: 4 kB / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.3341, allocations: 0 / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.3341, allocations: 3.984 kB / 1.211 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.518e-05/0.3341, allocations: 79.28 kB / 1.211 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3341, allocations: 0 / 1.211 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002144/0.3343, allocations: 8 kB / 1.211 GB, free: 5.602 MB / 0.9669 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.0005729/0.3349, allocations: 0.6968 MB / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002362/0.3352, allocations: 39.89 kB / 1.212 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3352, allocations: 4.094 kB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.26e-05/0.3353, allocations: 15.98 kB / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.3356, allocations: 9.875 kB / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004786/0.336, allocations: 147.6 kB / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.3363, allocations: 0.6768 MB / 1.213 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.48e-05/0.3364, allocations: 0 / 1.213 GB, free: 3.918 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.3364, allocations: 11.5 kB / 1.213 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of SimCode: time 2.695e-06/0.3364, allocations: 0 / 1.213 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01696/0.3534, allocations: 1.283 MB / 1.214 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.27/7.624, allocations: 24.33 kB / 1.214 GB, free: 2.695 MB / 0.9669 GB (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 --timeout=50 --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) 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) Reference file matches