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.001581/0.001581, allocations: 108 kB / 15.6 MB, free: 128 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.00169/0.00169, allocations: 196 kB / 16.53 MB, free: 6.672 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.507/1.507, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.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.723/2.723, allocations: 437 MB / 0.7104 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001474, allocations: 59.91 kB / 0.8692 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7029/0.7044, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001956/0.7064, allocations: 0.6591 MB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008049/0.7072, allocations: 0.8118 MB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.162e-05/0.7073, allocations: 0 / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.651e-05/0.7073, allocations: 0 / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.18e-05/0.7074, allocations: 3.938 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001458/0.7075, allocations: 11.98 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.117e-05/0.7076, allocations: 23.92 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.7077, allocations: 4 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.65e-05/0.7078, allocations: 23.84 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.968e-05/0.7079, allocations: 4 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.7079, allocations: 0 / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.099e-05/0.7079, allocations: 8 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.925e-05/0.7079, allocations: 7.938 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.708, allocations: 7.984 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.219e-05/0.708, allocations: 23.91 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.708, allocations: 4 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.282e-06/0.708, allocations: 0 / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.7081, allocations: 0 / 1.019 GB, free: 0.8672 MB / 0.7637 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.0004147/0.7085, allocations: 333.4 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.7085, allocations: 11.97 kB / 1.019 GB, free: 492 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.7085, allocations: 8.938 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.7087, allocations: 164.3 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.7087, allocations: 384 / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.7087, allocations: 4.375 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.7089, allocations: 46.23 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.7089, allocations: 4.188 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.7089, allocations: 7.938 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.7089, allocations: 0 / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.7091, allocations: 35.95 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.7094, allocations: 244.9 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.7096, allocations: 42.59 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.733e-05/0.7096, allocations: 24.84 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.7097, allocations: 7.984 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.7097, allocations: 34.5 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.7097, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003433/0.7101, allocations: 85.58 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.7101, allocations: 51.41 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.386e-05/0.7102, allocations: 106 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.7102, allocations: 29.7 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.501e-05/0.7102, allocations: 84.08 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.609e-05/0.7103, allocations: 3.906 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.7103, allocations: 13.72 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.7104, allocations: 314.8 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.348e-05/0.7105, allocations: 15.97 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.759e-05/0.7106, allocations: 27.98 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.7107, allocations: 32.83 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7107, allocations: 0 / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000188/0.7109, allocations: 73.53 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.711, allocations: 4 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.711, allocations: 4.094 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.711, allocations: 7.938 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.687e-05/0.7111, allocations: 7.984 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.7111, allocations: 0 / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.782e-05/0.7111, allocations: 7.984 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.7112, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 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 6.939e-05/0.7112, allocations: 117.8 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.7113, allocations: 3.906 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002187/0.7115, allocations: 76.72 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.7115, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.7115, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.7115, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.7117, allocations: 161.6 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7117, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.675e-05/0.7117, allocations: 8 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.7117, allocations: 192 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.7118, allocations: 8.031 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.7118, allocations: 3.984 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.7118, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.712, allocations: 159.5 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.214e-05/0.712, allocations: 85.03 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.185e-05/0.7121, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.471e-05/0.7121, allocations: 12.03 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.847e-05/0.7122, allocations: 15.92 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.7122, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.193e-05/0.7122, allocations: 79.28 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7122, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002137/0.7125, allocations: 4 kB / 1.021 GB, free: 14.02 MB / 0.7794 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.0001208/0.7126, allocations: 97.36 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002151/0.7128, allocations: 43.95 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7128, allocations: 0 / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.454e-05/0.7129, allocations: 15.98 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.7132, allocations: 9.969 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002837/0.7135, allocations: 126.1 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.7137, allocations: 0.6768 MB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.21e-05/0.7138, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.215e-05/0.7138, allocations: 7.438 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.7138, allocations: 0 / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of Templates: time 0.002316/0.7161, allocations: 429.8 kB / 1.023 GB, free: 12.57 MB / 0.7794 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