Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.007319/0.007319, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001599/0.001599, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.493/2.493, allocations: 437 MB / 0.7105 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.89 kB / 1.019 GB, free: 9.332 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.142/1.143, allocations: 151.6 MB / 1.167 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002401/1.146, allocations: 0.673 MB / 1.167 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009818/1.147, allocations: 0.804 MB / 1.168 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.897e-05/1.147, allocations: 0 / 1.168 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.647e-05/1.147, allocations: 4 kB / 1.168 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.066e-05/1.147, allocations: 11.92 kB / 1.168 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000187/1.147, allocations: 4 kB / 1.168 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.14e-05/1.147, allocations: 27.91 kB / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/1.148, allocations: 8 kB / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.453e-05/1.148, allocations: 15.92 kB / 1.168 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.879e-05/1.148, allocations: 11.98 kB / 1.168 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/1.148, allocations: 0 / 1.168 GB, free: 2.219 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/1.148, allocations: 4 kB / 1.168 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/1.148, allocations: 7.938 kB / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/1.148, allocations: 4 kB / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/1.148, allocations: 27.89 kB / 1.168 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.148, allocations: 3.938 kB / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.934e-06/1.148, allocations: 0 / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.965e-06/1.148, allocations: 0 / 1.168 GB, free: 2.172 MB / 0.8887 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.0006064/1.148, allocations: 336 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/1.149, allocations: 12.92 kB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/1.149, allocations: 0.9375 kB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/1.149, allocations: 172.3 kB / 1.169 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/1.149, allocations: 384 / 1.169 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/1.149, allocations: 8.375 kB / 1.169 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/1.149, allocations: 46.23 kB / 1.169 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/1.149, allocations: 192 / 1.169 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/1.149, allocations: 7.938 kB / 1.169 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.677e-06/1.149, allocations: 3.984 kB / 1.169 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/1.149, allocations: 31.97 kB / 1.169 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/1.15, allocations: 252.8 kB / 1.169 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/1.15, allocations: 50.44 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.264e-05/1.15, allocations: 23.28 kB / 1.169 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/1.15, allocations: 0 / 1.169 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/1.15, allocations: 38.56 kB / 1.169 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/1.15, allocations: 4 kB / 1.169 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003396/1.15, allocations: 81.58 kB / 1.169 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/1.15, allocations: 51.41 kB / 1.169 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.411e-05/1.15, allocations: 105.8 kB / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/1.151, allocations: 25.83 kB / 1.169 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/1.151, allocations: 84.14 kB / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.268e-05/1.151, allocations: 3.953 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/1.151, allocations: 17.72 kB / 1.17 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001282/1.151, allocations: 314.8 kB / 1.17 GB, free: 332 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.656e-05/1.151, allocations: 15.98 kB / 1.17 GB, free: 316 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-05/1.151, allocations: 15.98 kB / 1.17 GB, free: 300 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/1.151, allocations: 40.88 kB / 1.17 GB, free: 256 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.151, allocations: 4 kB / 1.17 GB, free: 252 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001852/1.151, allocations: 69.5 kB / 1.17 GB, free: 176 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/1.151, allocations: 8 kB / 1.17 GB, free: 168 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/1.151, allocations: 0 / 1.17 GB, free: 168 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/1.151, allocations: 0 / 1.17 GB, free: 168 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.169e-05/1.151, allocations: 16.02 kB / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/1.151, allocations: 0 / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/1.152, allocations: 7.984 kB / 1.17 GB, free: 144 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/1.152, allocations: 0 / 1.17 GB, free: 144 kB / 0.8887 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.083e-05/1.152, allocations: 113.8 kB / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/1.152, allocations: 0 / 1.17 GB, free: 20 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/1.152, allocations: 80.72 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/1.152, allocations: 0 / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.152, allocations: 0 / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/1.152, allocations: 3.984 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/1.152, allocations: 157.6 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.152, allocations: 0 / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.406e-05/1.152, allocations: 11.98 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/1.152, allocations: 0 / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/1.152, allocations: 0 / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/1.152, allocations: 3.938 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/1.152, allocations: 32 / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/1.152, allocations: 167.5 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/1.152, allocations: 85 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/1.153, allocations: 4 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.94e-05/1.153, allocations: 3.984 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/1.153, allocations: 4 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/1.153, allocations: 7.969 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.633e-05/1.153, allocations: 79.28 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/1.153, allocations: 0 / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002056/1.153, allocations: 8 kB / 1.171 GB, free: 15.32 MB / 0.9044 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.0001495/1.153, allocations: 99.23 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000203/1.153, allocations: 39.97 kB / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/1.153, allocations: 0 / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.059e-05/1.153, allocations: 19.97 kB / 1.171 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/1.154, allocations: 7.938 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/1.154, allocations: 106 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/1.154, allocations: 0.6729 MB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.562e-05/1.154, allocations: 8.109 kB / 1.172 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.54e-05/1.154, allocations: 7.438 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/1.154, allocations: 0 / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of Templates: time 0.002419/1.157, allocations: 439.5 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches