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.001848/0.001848, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 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.00268/0.00268, allocations: 214.4 kB / 22.25 MB, free: 5.109 MB / 14.72 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.742/1.742, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.297/3.297, allocations: 0.49 GB / 0.7951 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 73.59 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3809, allocations: 176.1 MB / 1.326 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002067/0.3829, allocations: 0.6878 MB / 1.327 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.3841, allocations: 0.8514 MB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.694e-05/0.3842, allocations: 0 / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.688e-05/0.3842, allocations: 3.938 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.057e-05/0.3843, allocations: 11.98 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001977/0.3845, allocations: 19.92 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.056e-05/0.3845, allocations: 19.92 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3847, allocations: 15.88 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.706e-05/0.3847, allocations: 11.98 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.5e-05/0.3848, allocations: 7.938 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.3848, allocations: 0 / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.593e-05/0.3848, allocations: 8 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.3848, allocations: 3.984 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.986e-05/0.3849, allocations: 15.92 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.385, allocations: 23.91 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.385, allocations: 4 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.513e-06/0.385, allocations: 0 / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.385, allocations: 0 / 1.328 GB, free: 15.74 MB / 1.029 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.0004552/0.3855, allocations: 258.3 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.3855, allocations: 15.97 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.683e-05/0.3856, allocations: 0.9375 kB / 1.328 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.3857, allocations: 118.5 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.3857, allocations: 384 / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.3857, allocations: 4.375 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.3859, allocations: 54.17 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.3859, allocations: 192 / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.3859, allocations: 3.938 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.386, allocations: 4 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.3861, allocations: 27.97 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003652/0.3865, allocations: 220 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.3866, allocations: 46.47 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.56e-05/0.3867, allocations: 20.91 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.3867, allocations: 0 / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.3868, allocations: 34.56 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 2.996e-06/0.3868, allocations: 3.984 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0003385/0.3871, allocations: 81.64 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.3871, allocations: 51.41 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.469e-05/0.3872, allocations: 101.8 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.3872, allocations: 25.7 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.917e-05/0.3873, allocations: 88.08 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.3873, allocations: 8.078 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.293e-05/0.3873, allocations: 13.72 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.3875, allocations: 318.8 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.099e-05/0.3876, allocations: 15.98 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.925e-05/0.3876, allocations: 11.98 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.3878, allocations: 40.89 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3878, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002021/0.388, allocations: 73.59 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.388, allocations: 4 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.388, allocations: 3.938 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.388, allocations: 0 / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.837e-05/0.3881, allocations: 15.92 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3881, allocations: 0 / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.995e-05/0.3882, allocations: 12.02 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.3882, allocations: 4 kB / 1.33 GB, free: 13.91 MB / 1.029 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.727e-05/0.3883, allocations: 114.2 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.3883, allocations: 7.953 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.3885, allocations: 68.97 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.3885, allocations: 0 / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3885, allocations: 4.031 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3885, allocations: 4 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.3887, allocations: 136.7 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3887, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.627e-05/0.3888, allocations: 4 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3888, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.3888, allocations: 7.984 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3888, allocations: 3.938 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3888, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.389, allocations: 167.5 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-06/0.389, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.389, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.351e-05/0.3891, allocations: 4 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.088e-05/0.3892, allocations: 3.984 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.3892, allocations: 4 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.13e-05/0.3892, allocations: 87.31 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3892, allocations: 0 / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002197/0.3894, allocations: 4 kB / 1.33 GB, free: 13.22 MB / 1.029 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.0001366/0.3896, allocations: 91.25 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002193/0.3898, allocations: 39.89 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3898, allocations: 0 / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.81e-05/0.3899, allocations: 24.05 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003218/0.3902, allocations: 11.92 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.3905, allocations: 94.36 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.3908, allocations: 0.6768 MB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.318e-05/0.3908, allocations: 4 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.3909, allocations: 7.438 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3909, allocations: 4.062 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of Templates: time 0.00309/0.394, allocations: 454.2 kB / 1.332 GB, free: 11.77 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) [Timeout 400] 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: 9.547001186292619]