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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 197.9 kB / 16.79 MB, free: 6.809 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.411/1.411, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.752/2.752, allocations: 461.8 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001544, allocations: 69.28 kB / 0.8991 GB, free: 37.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3156, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002255/0.3179, allocations: 0.7339 MB / 1.053 GB, free: 7.559 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.3189, allocations: 0.804 MB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.319, allocations: 0 / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.788e-05/0.3191, allocations: 0 / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.058e-05/0.3192, allocations: 7.922 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.3193, allocations: 11.98 kB / 1.054 GB, free: 6.723 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.765e-05/0.3194, allocations: 19.98 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.3195, allocations: 8 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.743e-05/0.3196, allocations: 11.88 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.736e-05/0.3196, allocations: 7.984 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.3197, allocations: 4 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.189e-05/0.3197, allocations: 0 / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.3197, allocations: 3.938 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.3197, allocations: 8 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.537e-05/0.3198, allocations: 27.89 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3198, allocations: 0 / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.12e-07/0.3198, allocations: 4 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3198, allocations: 0 / 1.054 GB, free: 6.629 MB / 0.8106 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.000501/0.3204, allocations: 335.7 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.3204, allocations: 19.95 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.3205, allocations: 8.781 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.3206, allocations: 160.4 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.3206, allocations: 384 / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.3206, allocations: 4.375 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.3208, allocations: 54.23 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3208, allocations: 4.125 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.3209, allocations: 7.922 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3209, allocations: 0 / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001793/0.3211, allocations: 35.95 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.3214, allocations: 241 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.3216, allocations: 42.5 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.663e-05/0.3217, allocations: 20.91 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.3217, allocations: 3.984 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.3217, allocations: 38.5 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3217, allocations: 0 / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003729/0.3221, allocations: 77.64 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.3222, allocations: 59.41 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.898e-05/0.3222, allocations: 93.86 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.3223, allocations: 25.7 kB / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.3223, allocations: 84.14 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.3224, allocations: 3.906 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.3224, allocations: 21.83 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3225, allocations: 314.8 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-05/0.3226, allocations: 15.98 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.36e-05/0.3227, allocations: 15.92 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.3229, allocations: 44.81 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3229, allocations: 4.062 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001968/0.3231, allocations: 69.5 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3231, allocations: 8 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3231, allocations: 0 / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.3231, allocations: 3.938 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.48e-05/0.3232, allocations: 4 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.3233, allocations: 0 / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.939e-05/0.3233, allocations: 12.02 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.3233, allocations: 4 kB / 1.056 GB, free: 4.602 MB / 0.8106 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.293e-05/0.3234, allocations: 113.7 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.3235, allocations: 0 / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002388/0.3237, allocations: 76.77 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3237, allocations: 0 / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3237, allocations: 0 / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3237, allocations: 4.031 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.3239, allocations: 157.6 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3239, allocations: 3.938 kB / 1.056 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.202e-05/0.324, allocations: 11.98 kB / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.324, allocations: 0 / 1.056 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.324, allocations: 4 kB / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.324, allocations: 0 / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.324, allocations: 0 / 1.056 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.3243, allocations: 171.4 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/0.3243, allocations: 77.11 kB / 1.057 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.3243, allocations: 4 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.458e-05/0.3244, allocations: 3.984 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.3245, allocations: 4 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.3245, allocations: 0 / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.046e-05/0.3245, allocations: 87.27 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3245, allocations: 4.031 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002167/0.3248, allocations: 7.938 kB / 1.057 GB, free: 3.789 MB / 0.8106 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.0001384/0.3249, allocations: 95.25 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002034/0.3251, allocations: 35.97 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.3251, allocations: 0 / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.585e-05/0.3252, allocations: 27.97 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.3255, allocations: 7.938 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003224/0.3259, allocations: 141.7 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.3261, allocations: 0.677 MB / 1.058 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.767e-05/0.3262, allocations: 7.438 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of SimCode: time 3.1e-07/0.3262, allocations: 0 / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of Templates: time 0.00194/0.3281, allocations: 0.5395 MB / 1.058 GB, free: 2.199 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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