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: 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.001514/0.001514, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001646/0.001646, allocations: 193.9 kB / 16.14 MB, free: 6.691 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.385/1.385, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.72/2.72, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 65.02 kB / 0.8984 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.342, allocations: 157.4 MB / 1.052 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002131/0.3442, allocations: 0.7339 MB / 1.053 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009524/0.3452, allocations: 0.8079 MB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.856e-05/0.3453, allocations: 0 / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.515e-05/0.3453, allocations: 0 / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.816e-05/0.3454, allocations: 3.938 kB / 1.054 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001591/0.3456, allocations: 15.97 kB / 1.054 GB, free: 7.266 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.637e-05/0.3456, allocations: 12 kB / 1.054 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.3458, allocations: 19.98 kB / 1.054 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.227e-05/0.3458, allocations: 11.88 kB / 1.054 GB, free: 7.223 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.879e-05/0.3459, allocations: 7.984 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.3459, allocations: 4 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.162e-05/0.3459, allocations: 0 / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.935e-05/0.3459, allocations: 3.938 kB / 1.054 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.717e-05/0.346, allocations: 8 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.268e-05/0.3461, allocations: 31.88 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3461, allocations: 0 / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.71e-07/0.3461, allocations: 0 / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.3461, allocations: 0 / 1.054 GB, free: 7.168 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.0004625/0.3466, allocations: 339.7 kB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3466, allocations: 12.03 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.3466, allocations: 4.844 kB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.3468, allocations: 160.4 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.3468, allocations: 4.375 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.3468, allocations: 384 / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.347, allocations: 50.23 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.347, allocations: 8.125 kB / 1.054 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.3471, allocations: 3.938 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3471, allocations: 0 / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.3472, allocations: 35.95 kB / 1.054 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.3476, allocations: 241 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.3477, allocations: 46.44 kB / 1.055 GB, free: 6.129 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.124e-05/0.3478, allocations: 24.89 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.3479, allocations: 3.938 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.3479, allocations: 38.5 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3479, allocations: 0 / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003686/0.3483, allocations: 77.64 kB / 1.055 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.3483, allocations: 59.41 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.815e-05/0.3484, allocations: 93.86 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.3484, allocations: 25.7 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.3485, allocations: 84.14 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.3485, allocations: 7.891 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/0.3485, allocations: 13.72 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3487, allocations: 319 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.211e-05/0.3488, allocations: 15.98 kB / 1.055 GB, free: 5.316 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.402e-05/0.3489, allocations: 23.91 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.349, allocations: 36.83 kB / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.349, allocations: 0 / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001879/0.3492, allocations: 73.56 kB / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3493, allocations: 9.25 kB / 1.055 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.3493, allocations: 0 / 1.055 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3493, allocations: 0 / 1.055 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.579e-05/0.3494, allocations: 4 kB / 1.055 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.3494, allocations: 7.984 kB / 1.055 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.482e-05/0.3495, allocations: 0 / 1.055 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.3495, allocations: 8 kB / 1.055 GB, free: 5.148 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 9.774e-05/0.3496, allocations: 119.3 kB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.3496, allocations: 4 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.3499, allocations: 72.77 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.3499, allocations: 192 / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3499, allocations: 0 / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.3499, allocations: 3.984 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.3501, allocations: 157.6 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3501, allocations: 4.031 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.942e-05/0.3502, allocations: 11.98 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3502, allocations: 0 / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.3502, allocations: 0 / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3502, allocations: 3.938 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3502, allocations: 0 / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.3504, allocations: 171.4 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.3505, allocations: 77.11 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.3505, allocations: 4 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.446e-05/0.3506, allocations: 7.984 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.3506, allocations: 0 / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.3506, allocations: 0 / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.693e-05/0.3507, allocations: 91.2 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3507, allocations: 0 / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002316/0.3509, allocations: 7.938 kB / 1.056 GB, free: 4.332 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.0001812/0.3511, allocations: 99.28 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.3514, allocations: 39.95 kB / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.3514, allocations: 0 / 1.056 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.578e-05/0.3515, allocations: 23.92 kB / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.3518, allocations: 8.062 kB / 1.056 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003022/0.3522, allocations: 115.8 kB / 1.056 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.3524, allocations: 0.677 MB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.364e-05/0.3525, allocations: 0 / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.3525, allocations: 7.438 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of SimCode: time 1.603e-06/0.3525, allocations: 0 / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of Templates: time 0.002399/0.3549, allocations: 377.7 kB / 1.057 GB, free: 2.941 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/jenkins/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