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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001005/0.001005, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001187/0.001187, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.905/2.905, allocations: 437.8 MB / 0.7117 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000558/0.0005582, allocations: 16 kB / 0.8722 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8666/0.8672, allocations: 153.8 MB / 1.022 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001313/0.8686, allocations: 394.3 kB / 1.023 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001261/0.8699, allocations: 0.8041 MB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.988e-05/0.8699, allocations: 3.938 kB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.894e-05/0.87, allocations: 0 / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.934e-05/0.8701, allocations: 0 / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001661/0.8702, allocations: 11.98 kB / 1.024 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.612e-05/0.8703, allocations: 19.92 kB / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.8704, allocations: 0 / 1.024 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.808e-05/0.8705, allocations: 15.92 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.928e-05/0.8706, allocations: 4 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.8706, allocations: 4 kB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.071e-05/0.8706, allocations: 4 kB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.013e-05/0.8707, allocations: 11.92 kB / 1.024 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.8707, allocations: 25.7 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.653e-05/0.8708, allocations: 11.97 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.8708, allocations: 0 / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.595e-06/0.8708, allocations: 0 / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.8708, allocations: 0 / 1.024 GB, free: 14.75 MB / 0.7794 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.0005091/0.8713, allocations: 345.3 kB / 1.024 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/0.8714, allocations: 12.56 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.8714, allocations: 0 / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.8716, allocations: 159.1 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.8716, allocations: 0 / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.8716, allocations: 4 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.8718, allocations: 61.62 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.8719, allocations: 0 / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.8719, allocations: 3.938 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.8719, allocations: 0 / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.8721, allocations: 47.89 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000451/0.8725, allocations: 256.8 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.8727, allocations: 42.55 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.8729, allocations: 28.91 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.8729, allocations: 4 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.8729, allocations: 42.44 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.873, allocations: 0 / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004518/0.8734, allocations: 97.64 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.8735, allocations: 51.41 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.8736, allocations: 97.84 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.8736, allocations: 29.7 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.8737, allocations: 88.08 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.8737, allocations: 3.906 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.8737, allocations: 128 / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.8739, allocations: 314.8 kB / 1.025 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.66e-05/0.874, allocations: 23.98 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.37e-05/0.8741, allocations: 23.91 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.497e-05/0.8742, allocations: 28.05 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8742, allocations: 0 / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002404/0.8744, allocations: 77.61 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.8745, allocations: 9.75 kB / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.8745, allocations: 0 / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.8745, allocations: 0 / 1.025 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.8746, allocations: 12 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.8746, allocations: 0 / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.429e-05/0.8747, allocations: 7.984 kB / 1.025 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.8747, allocations: 0 / 1.025 GB, free: 12.71 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.069e-05/0.8748, allocations: 117.8 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.8748, allocations: 3.953 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.8751, allocations: 84.7 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.8751, allocations: 0 / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.8751, allocations: 0 / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.8751, allocations: 4.219 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.8753, allocations: 157.6 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.8753, allocations: 4 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.202e-05/0.8754, allocations: 15.98 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.8754, allocations: 7.938 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.8754, allocations: 0 / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.8754, allocations: 0 / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8754, allocations: 0 / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.8757, allocations: 171.5 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.8757, allocations: 85.05 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.846e-05/0.8757, allocations: 11.89 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.409e-05/0.8758, allocations: 16.02 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.8759, allocations: 4 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.8759, allocations: 0 / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.76e-05/0.8759, allocations: 83.27 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8759, allocations: 0 / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002103/0.8761, allocations: 4 kB / 1.026 GB, free: 11.85 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001493/0.8763, allocations: 99.23 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001971/0.8765, allocations: 47.97 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.8765, allocations: 0 / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.503e-05/0.8766, allocations: 31.97 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.8769, allocations: 10.31 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003163/0.8772, allocations: 106.7 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.8775, allocations: 0.677 MB / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.681e-05/0.8775, allocations: 0 / 1.027 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.8776, allocations: 11.44 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.8776, allocations: 4 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of Templates: time 0.002621/0.8802, allocations: 337.8 kB / 1.027 GB, free: 10.48 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