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.001445/0.001445, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001748/0.001748, allocations: 207.2 kB / 22.99 MB, free: 4.957 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.379/3.379, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.00211/0.00211, allocations: 71.23 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3888, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002785/0.3916, allocations: 0.6665 MB / 1.328 GB, free: 300 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001827/0.3934, allocations: 0.8475 MB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.901e-05/0.3934, allocations: 0 / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.727e-05/0.3935, allocations: 3.938 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.11e-05/0.3936, allocations: 7.938 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.3938, allocations: 19.97 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.3939, allocations: 15.94 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.394, allocations: 11.98 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.209e-05/0.3941, allocations: 11.94 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.275e-05/0.3942, allocations: 3.984 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.3942, allocations: 4 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.043e-05/0.3943, allocations: 15.94 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.3943, allocations: 0 / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.205e-05/0.3943, allocations: 8 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.3945, allocations: 35.81 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3945, allocations: 0 / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.445e-06/0.3945, allocations: 0 / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.3945, allocations: 0 / 1.329 GB, free: 15.3 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.0005799/0.3951, allocations: 259.9 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.3951, allocations: 12.03 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.3953, allocations: 0.9375 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.3954, allocations: 114.5 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.3954, allocations: 384 / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.3954, allocations: 4.375 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.3957, allocations: 46.23 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3957, allocations: 192 / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.3957, allocations: 7.938 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.3957, allocations: 4 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.396, allocations: 31.95 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/0.3964, allocations: 200.4 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.3966, allocations: 42.53 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.3967, allocations: 28.84 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.3967, allocations: 3.938 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.3967, allocations: 30.56 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.3967, allocations: 0 / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004948/0.3972, allocations: 85.64 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.3973, allocations: 55.34 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.3974, allocations: 101.8 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.3974, allocations: 29.7 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/0.3975, allocations: 80.14 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.3975, allocations: 3.953 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.015e-05/0.3976, allocations: 13.72 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.3978, allocations: 314.8 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.3979, allocations: 15.97 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.398, allocations: 28.11 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.3982, allocations: 36.83 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3982, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002868/0.3985, allocations: 69.53 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.3985, allocations: 8 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3985, allocations: 4.094 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.3985, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.3986, allocations: 7.984 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.3986, allocations: 4 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.404e-05/0.3987, allocations: 0 / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.3987, allocations: 4 kB / 1.33 GB, free: 13.51 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 0.0002041/0.3989, allocations: 114.4 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.399, allocations: 7.891 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003114/0.3993, allocations: 72.97 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3993, allocations: 0 / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3993, allocations: 0 / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.3993, allocations: 192 / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.3995, allocations: 105.3 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3995, allocations: 3.938 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.382e-05/0.3996, allocations: 11.98 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.3996, allocations: 7.922 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.3996, allocations: 3.938 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3996, allocations: 0 / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3996, allocations: 4.031 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000446/0.4001, allocations: 163.5 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.14e-05/0.4001, allocations: 3.938 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.4001, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.4003, allocations: 4 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.4003, allocations: 3.984 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.4003, allocations: 7.938 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.051e-05/0.4004, allocations: 79.28 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4004, allocations: 4.031 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004011/0.4008, allocations: 4 kB / 1.331 GB, free: 12.85 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.0001643/0.4009, allocations: 103.2 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002814/0.4012, allocations: 31.97 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4012, allocations: 0 / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.4013, allocations: 19.98 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.4018, allocations: 12.11 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003896/0.4022, allocations: 102.3 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.378e-05/0.4022, allocations: 63.34 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.281e-05/0.4023, allocations: 3.938 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.4023, allocations: 7.438 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4023, allocations: 0 / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of Templates: time 0.003652/0.406, allocations: 491 kB / 1.332 GB, free: 11.99 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 -s cvode -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/jenkins1/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.462651000008918]