Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002708/0.002708, allocations: 87.69 kB / 20.24 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00296/0.00296, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.602/1.602, allocations: 177.1 MB / 203.9 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.206/3.206, allocations: 377.9 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan1.u|atan1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 0.8109 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.843e-05/3.059e-05, allocations: 3.406 kB / 0.8109 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001843/0.001874, allocations: 0.6614 MB / 0.8115 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.003032, allocations: 0.8589 MB / 0.8124 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.113e-05/0.003063, allocations: 0.8438 kB / 0.8124 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.013e-05/0.003083, allocations: 0 / 0.8124 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.656e-05/0.003149, allocations: 0.5625 kB / 0.8124 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.003334, allocations: 19.91 kB / 0.8124 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8e-05/0.003414, allocations: 28.55 kB / 0.8124 GB, free: 496 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.337e-05/0.003508, allocations: 4.906 kB / 0.8124 GB, free: 492 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.053e-05/0.003588, allocations: 11.98 kB / 0.8124 GB, free: 480 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.04e-05/0.003639, allocations: 8 kB / 0.8124 GB, free: 472 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.003654, allocations: 0.6562 kB / 0.8124 GB, free: 472 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.429e-05/0.003699, allocations: 4.875 kB / 0.8124 GB, free: 468 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.003716, allocations: 7.984 kB / 0.8125 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.003746, allocations: 11.92 kB / 0.8125 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.003855, allocations: 29.16 kB / 0.8125 GB, free: 420 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.003858, allocations: 0 / 0.8125 GB, free: 420 kB / 0.7605 GB Notification: Performance of FrontEnd: time 8.22e-07/0.003859, allocations: 0 / 0.8125 GB, free: 420 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.003863, allocations: 1.594 kB / 0.8125 GB, free: 420 kB / 0.7605 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.0005358/0.004399, allocations: 356.3 kB / 0.8128 GB, free: 24 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.004443, allocations: 12.03 kB / 0.8128 GB, free: 12 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001246/0.004567, allocations: 8.828 kB / 0.8129 GB, free: 4 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.004714, allocations: 113.9 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.004728, allocations: 384 / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.004736, allocations: 384 / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.004899, allocations: 46.25 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.004908, allocations: 1.719 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.004917, allocations: 384 / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.004924, allocations: 4.359 kB / 0.813 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.00504, allocations: 24.67 kB / 0.813 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003762/0.005416, allocations: 247.9 kB / 0.8133 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.00555, allocations: 43.95 kB / 0.8133 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.589e-05/0.005616, allocations: 16.28 kB / 0.8133 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.005638, allocations: 0.7188 kB / 0.8133 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.005679, allocations: 45.31 kB / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.00568, allocations: 5.25 kB / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.000285/0.005965, allocations: 65.52 kB / 0.8134 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.006011, allocations: 56.03 kB / 0.8135 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.006158, allocations: 163 kB / 0.8136 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.006177, allocations: 25.7 kB / 0.8137 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.346e-05/0.00626, allocations: 134.9 kB / 0.8138 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.00628, allocations: 4.766 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.006323, allocations: 23.36 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000257/0.00658, allocations: 496.1 kB / 0.8143 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.488e-05/0.006634, allocations: 8.656 kB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.72e-05/0.006682, allocations: 13.2 kB / 0.8143 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.006784, allocations: 33.48 kB / 0.8144 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.006785, allocations: 0 / 0.8144 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000148/0.006933, allocations: 53.81 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.006951, allocations: 8 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.00696, allocations: 6.219 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.006975, allocations: 0 / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-05/0.007058, allocations: 11.97 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.007063, allocations: 0 / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.392e-05/0.007097, allocations: 4 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.007102, allocations: 3.438 kB / 0.8144 GB, free: 14.23 MB / 0.7761 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 0.0001551/0.007257, allocations: 156.6 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.007281, allocations: 4 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/0.007471, allocations: 60.92 kB / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.007473, allocations: 0 / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.007477, allocations: 0 / 0.8146 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.007482, allocations: 4 kB / 0.8147 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.007633, allocations: 116.6 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.007634, allocations: 4.531 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.798e-05/0.007682, allocations: 12.48 kB / 0.8148 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.007684, allocations: 0 / 0.8148 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.00769, allocations: 0.5625 kB / 0.8148 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.007694, allocations: 4.5 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.007694, allocations: 0 / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002303/0.007925, allocations: 205.3 kB / 0.815 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-06/0.007933, allocations: 11.88 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.007947, allocations: 4.516 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.347e-05/0.008011, allocations: 8.562 kB / 0.815 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.008045, allocations: 0 / 0.815 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.008048, allocations: 1.969 kB / 0.815 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.577e-05/0.008124, allocations: 127.2 kB / 0.8151 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.008124, allocations: 0 / 0.8151 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002146/0.008339, allocations: 8 kB / 0.8151 GB, free: 13.45 MB / 0.7761 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.0001338/0.008473, allocations: 102.8 kB / 0.8152 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001674/0.00864, allocations: 32.61 kB / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.008641, allocations: 0 / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.621e-05/0.008708, allocations: 21.02 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.008961, allocations: 11.94 kB / 0.8153 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.009292, allocations: 119.3 kB / 0.8154 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.272e-05/0.009365, allocations: 64.64 kB / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.37e-05/0.009389, allocations: 7.938 kB / 0.8155 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.975e-05/0.009419, allocations: 8.5 kB / 0.8155 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.009419, allocations: 3.719 kB / 0.8155 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of Templates: time 0.003174/0.01259, allocations: 473.6 kB / 0.8159 GB, free: 12.58 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.290346545050852]