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.0007833/0.0007833, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008015/0.0008015, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.9094/0.9094, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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 1.705/1.705, allocations: 377.9 MB / 0.6229 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.723e-06/1.723e-06, allocations: 0 / 0.9823 GB, free: 2.004 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.459e-05, allocations: 13.03 kB / 0.9823 GB, free: 1.992 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan): time 0.001138/0.001162, allocations: 0.6639 MB / 0.9829 GB, free: 1.328 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.000751/0.001914, allocations: 0.8432 MB / 0.9837 GB, free: 484 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.867e-05/0.001942, allocations: 0 / 0.9837 GB, free: 484 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.554e-05/0.001968, allocations: 7.938 kB / 0.9837 GB, free: 476 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.478e-05/0.002023, allocations: 7.922 kB / 0.9838 GB, free: 468 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.002208, allocations: 11.98 kB / 0.9838 GB, free: 456 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.484e-05/0.002272, allocations: 23.94 kB / 0.9838 GB, free: 432 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.864e-05/0.002361, allocations: 7.984 kB / 0.9838 GB, free: 424 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.152e-05/0.002423, allocations: 11.94 kB / 0.9838 GB, free: 412 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.464e-05/0.002457, allocations: 11.92 kB / 0.9838 GB, free: 400 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.528e-05/0.002472, allocations: 4 kB / 0.9838 GB, free: 396 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.097e-05/0.002513, allocations: 4 kB / 0.9838 GB, free: 392 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.002528, allocations: 3.984 kB / 0.9838 GB, free: 388 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.765e-05/0.002545, allocations: 11.98 kB / 0.9838 GB, free: 376 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.698e-05/0.002642, allocations: 27.91 kB / 0.9839 GB, free: 348 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.002645, allocations: 0 / 0.9839 GB, free: 348 kB / 0.9323 GB Notification: Performance of FrontEnd: time 9.12e-07/0.002645, allocations: 0 / 0.9839 GB, free: 348 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.002649, allocations: 7.938 kB / 0.9839 GB, free: 340 kB / 0.9323 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.0003323/0.002981, allocations: 258.3 kB / 0.9841 GB, free: 48 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.003017, allocations: 15.97 kB / 0.9841 GB, free: 32 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.591e-05/0.003093, allocations: 4.891 kB / 0.9841 GB, free: 28 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.128e-05/0.003184, allocations: 113.7 kB / 0.9842 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.003196, allocations: 384 / 0.9842 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-06/0.003203, allocations: 384 / 0.9843 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.003329, allocations: 50.23 kB / 0.9843 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.003336, allocations: 192 / 0.9843 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.003344, allocations: 8.312 kB / 0.9843 GB, free: 15.83 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.003349, allocations: 4.375 kB / 0.9843 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.797e-05/0.003437, allocations: 31.91 kB / 0.9843 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002515/0.003688, allocations: 192.6 kB / 0.9845 GB, free: 15.57 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.636e-05/0.003765, allocations: 34.56 kB / 0.9846 GB, free: 15.53 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.339e-05/0.003808, allocations: 20.91 kB / 0.9846 GB, free: 15.51 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.003827, allocations: 0 / 0.9846 GB, free: 15.51 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.003849, allocations: 38.5 kB / 0.9846 GB, free: 15.46 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.00385, allocations: 0 / 0.9846 GB, free: 15.46 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002319/0.004081, allocations: 85.58 kB / 0.9847 GB, free: 15.37 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.004114, allocations: 51.41 kB / 0.9847 GB, free: 15.31 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.456e-05/0.004178, allocations: 109.8 kB / 0.9848 GB, free: 15.19 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.004189, allocations: 25.7 kB / 0.9849 GB, free: 15.16 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.858e-05/0.004228, allocations: 84.09 kB / 0.985 GB, free: 15.07 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.004246, allocations: 12.11 kB / 0.985 GB, free: 15.06 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.004272, allocations: 13.72 kB / 0.985 GB, free: 15.04 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.983e-05/0.004352, allocations: 314.8 kB / 0.9853 GB, free: 14.73 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.157e-05/0.004394, allocations: 15.98 kB / 0.9853 GB, free: 14.71 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.458e-05/0.004428, allocations: 19.92 kB / 0.9853 GB, free: 14.69 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.787e-05/0.004506, allocations: 40.81 kB / 0.9854 GB, free: 14.65 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.004508, allocations: 64 / 0.9854 GB, free: 14.65 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.83e-05/0.004606, allocations: 69.62 kB / 0.9854 GB, free: 14.57 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.004619, allocations: 8 kB / 0.9854 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.004625, allocations: 3.938 kB / 0.9854 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.004638, allocations: 0 / 0.9854 GB, free: 14.56 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.781e-05/0.004696, allocations: 7.984 kB / 0.9854 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.004701, allocations: 7.938 kB / 0.9854 GB, free: 14.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.166e-05/0.004722, allocations: 3.984 kB / 0.9854 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-06/0.004727, allocations: 8.031 kB / 0.9855 GB, free: 14.54 MB / 0.948 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 5.231e-05/0.004779, allocations: 105.8 kB / 0.9856 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.004791, allocations: 3.938 kB / 0.9856 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.004915, allocations: 76.91 kB / 0.9856 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.004916, allocations: 0 / 0.9856 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.00492, allocations: 0 / 0.9856 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.004924, allocations: 3.984 kB / 0.9856 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.667e-05/0.00501, allocations: 105.3 kB / 0.9857 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.005011, allocations: 4.031 kB / 0.9857 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.541e-05/0.005037, allocations: 11.98 kB / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.005038, allocations: 0 / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.005043, allocations: 0 / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.005047, allocations: 7.938 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.005048, allocations: 0 / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.005168, allocations: 163.5 kB / 0.9859 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.13e-06/0.005173, allocations: 3.953 kB / 0.9859 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.718e-06/0.005183, allocations: 0 / 0.9859 GB, free: 14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.711e-05/0.00522, allocations: 15.95 kB / 0.9859 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.005251, allocations: 4 kB / 0.9859 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.005254, allocations: 4 kB / 0.9859 GB, free: 13.98 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.917e-05/0.005283, allocations: 79.27 kB / 0.986 GB, free: 13.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005283, allocations: 0 / 0.986 GB, free: 13.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001374/0.005421, allocations: 4 kB / 0.986 GB, free: 13.89 MB / 0.948 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 6.859e-05/0.005489, allocations: 95.25 kB / 0.9861 GB, free: 13.79 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.00561, allocations: 35.97 kB / 0.9861 GB, free: 13.76 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.005611, allocations: 0 / 0.9861 GB, free: 13.76 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.311e-05/0.005654, allocations: 27.91 kB / 0.9862 GB, free: 13.73 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001804/0.005835, allocations: 4 kB / 0.9862 GB, free: 13.73 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002357/0.00607, allocations: 138.5 kB / 0.9863 GB, free: 13.56 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.911e-05/0.006109, allocations: 59.34 kB / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.564e-05/0.006135, allocations: 12.62 kB / 0.9864 GB, free: 13.47 MB / 0.948 GB Notification: Performance of SimCode: time 5.61e-07/0.006136, allocations: 8 kB / 0.9864 GB, free: 13.46 MB / 0.948 GB Notification: Performance of Templates: time 0.001288/0.007423, allocations: 0.5549 MB / 0.9869 GB, free: 12.91 MB / 0.948 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: 6.414258086122572]