Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001602/0.001602, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001883/0.001883, allocations: 160.7 kB / 23.01 MB, free: 4.602 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.542/1.542, allocations: 177.2 MB / 203.4 MB, free: 8.934 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.957/2.957, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002504/0.002504, allocations: 63.91 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.004, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.002131/1.006, allocations: 0.6727 MB / 1.187 GB, free: 15.78 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001045/1.007, allocations: 0.8461 MB / 1.188 GB, free: 15.15 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.507e-05/1.007, allocations: 3.938 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/1.007, allocations: 0 / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.992e-05/1.007, allocations: 9.734 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/1.007, allocations: 9.766 kB / 1.188 GB, free: 15.13 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.495e-05/1.007, allocations: 25.84 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/1.007, allocations: 6.078 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.34e-05/1.008, allocations: 9.969 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.241e-05/1.008, allocations: 13.36 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/1.008, allocations: 2.688 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.814e-05/1.008, allocations: 7.875 kB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.89e-05/1.008, allocations: 10.81 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.095e-05/1.008, allocations: 5.906 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/1.008, allocations: 27.3 kB / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/1.008, allocations: 2.078 kB / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.024e-06/1.008, allocations: 0 / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.281e-06/1.008, allocations: 3.938 kB / 1.188 GB, free: 15.08 MB / 1.076 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.0004188/1.008, allocations: 260.8 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/1.008, allocations: 9.625 kB / 1.189 GB, free: 14.82 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.562e-05/1.008, allocations: 6.875 kB / 1.189 GB, free: 14.81 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.324e-05/1.008, allocations: 114.5 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/1.008, allocations: 1.75 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/1.008, allocations: 1.031 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/1.009, allocations: 50.05 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/1.009, allocations: 192 / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/1.009, allocations: 3.938 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/1.009, allocations: 1.375 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/1.009, allocations: 32.47 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/1.009, allocations: 198 kB / 1.189 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/1.009, allocations: 36.86 kB / 1.189 GB, free: 14.4 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.751e-05/1.009, allocations: 19.22 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/1.009, allocations: 5.312 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/1.009, allocations: 32.59 kB / 1.189 GB, free: 14.35 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/1.009, allocations: 0 / 1.189 GB, free: 14.35 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0003562/1.01, allocations: 87.7 kB / 1.189 GB, free: 14.3 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/1.01, allocations: 53.06 kB / 1.189 GB, free: 14.24 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.058e-05/1.01, allocations: 100.9 kB / 1.189 GB, free: 14.14 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/1.01, allocations: 25.7 kB / 1.189 GB, free: 14.11 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.198e-05/1.01, allocations: 85.89 kB / 1.189 GB, free: 14.02 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/1.01, allocations: 9.422 kB / 1.189 GB, free: 14.01 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/1.01, allocations: 13.52 kB / 1.189 GB, free: 14 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.952e-05/1.01, allocations: 313.3 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.624e-05/1.01, allocations: 18.2 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.472e-05/1.01, allocations: 18.38 kB / 1.19 GB, free: 13.68 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/1.01, allocations: 37.17 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.01, allocations: 1.062 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001875/1.011, allocations: 74.5 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.011, allocations: 8.469 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/1.011, allocations: 4 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/1.011, allocations: 4.719 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.289e-05/1.011, allocations: 8.984 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/1.011, allocations: 5.062 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.958e-05/1.011, allocations: 5.672 kB / 1.19 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/1.011, allocations: 1.812 kB / 1.19 GB, free: 13.61 MB / 1.076 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 4.774e-05/1.011, allocations: 108.5 kB / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/1.011, allocations: 5.219 kB / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/1.011, allocations: 80 kB / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/1.011, allocations: 192 / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.011, allocations: 1.156 kB / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/1.011, allocations: 4.641 kB / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.525e-05/1.011, allocations: 108.1 kB / 1.19 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/1.011, allocations: 0.7031 kB / 1.19 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.791e-05/1.011, allocations: 8.844 kB / 1.19 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/1.011, allocations: 4.719 kB / 1.19 GB, free: 13.3 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/1.011, allocations: 4 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.011, allocations: 5.125 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.011, allocations: 0.75 kB / 1.19 GB, free: 13.29 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/1.011, allocations: 159.7 kB / 1.19 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-06/1.011, allocations: 5.547 kB / 1.19 GB, free: 13.15 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/1.011, allocations: 5.125 kB / 1.19 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.592e-05/1.012, allocations: 6.047 kB / 1.19 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/1.012, allocations: 3.312 kB / 1.19 GB, free: 13.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/1.012, allocations: 0 / 1.19 GB, free: 13.14 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.444e-05/1.012, allocations: 89.52 kB / 1.19 GB, free: 13.06 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.012, allocations: 0 / 1.19 GB, free: 13.06 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002112/1.012, allocations: 3.969 kB / 1.19 GB, free: 13.06 MB / 1.076 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 9.763e-05/1.012, allocations: 100.4 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00022/1.012, allocations: 35.91 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.012, allocations: 0 / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.61e-05/1.012, allocations: 20.91 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/1.013, allocations: 3.344 kB / 1.191 GB, free: 12.96 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/1.013, allocations: 112.7 kB / 1.191 GB, free: 12.84 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.75e-05/1.013, allocations: 63 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.147e-05/1.013, allocations: 1.531 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/1.013, allocations: 9.312 kB / 1.191 GB, free: 12.76 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/1.013, allocations: 5.125 kB / 1.191 GB, free: 12.76 MB / 1.076 GB Notification: Performance of Templates: time 0.002935/1.016, allocations: 462.6 kB / 1.191 GB, free: 12.68 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Atan.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.193573861964978]