Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.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.0008296/0.0008296, allocations: 80.53 kB / 19.93 MB, free: 4.605 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.0008409/0.0008409, allocations: 181.2 kB / 23.22 MB, free: 1.316 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.8763/0.8763, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.753/1.753, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 1.001 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.932e-05/2.081e-05, allocations: 6.219 kB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001105/0.001126, allocations: 0.7028 MB / 1.002 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0007218/0.001848, allocations: 0.8665 MB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.186e-05/0.00188, allocations: 0 / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.514e-05/0.001905, allocations: 7.938 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.081e-05/0.001966, allocations: 7.875 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.002141, allocations: 27.91 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.254e-05/0.002214, allocations: 43.84 kB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.98e-05/0.002304, allocations: 11.98 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.692e-05/0.002371, allocations: 23.92 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.622e-05/0.002407, allocations: 11.98 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.002422, allocations: 4 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.213e-05/0.002464, allocations: 8 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.002479, allocations: 11.92 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.002499, allocations: 15.98 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.002605, allocations: 51.8 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.002608, allocations: 4 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.62e-07/0.002608, allocations: 0 / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.002612, allocations: 0 / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003565/0.002968, allocations: 286.2 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.003002, allocations: 12.75 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.011e-05/0.003072, allocations: 8.891 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.377e-05/0.003146, allocations: 109.7 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.003157, allocations: 8.375 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.003166, allocations: 4.375 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.003323, allocations: 70.2 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.00333, allocations: 192 / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.003341, allocations: 4.375 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.003345, allocations: 384 / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.003487, allocations: 67.88 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002554/0.003742, allocations: 216.5 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.00386, allocations: 50.55 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.436e-05/0.003934, allocations: 36.91 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.003953, allocations: 0 / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.003974, allocations: 34.56 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 7.21e-07/0.003975, allocations: 0 / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003052/0.00428, allocations: 145.4 kB / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.004307, allocations: 51.41 kB / 1.004 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.769e-05/0.004364, allocations: 109.8 kB / 1.004 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.004373, allocations: 25.7 kB / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.303e-05/0.004406, allocations: 84.14 kB / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.004422, allocations: 11.89 kB / 1.004 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.42e-05/0.004446, allocations: 13.72 kB / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.368e-05/0.00452, allocations: 326.8 kB / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.957e-05/0.00459, allocations: 27.97 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.384e-05/0.004654, allocations: 31.95 kB / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.004787, allocations: 73.08 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.004789, allocations: 3.938 kB / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001632/0.004952, allocations: 109.5 kB / 1.005 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.004964, allocations: 11.94 kB / 1.005 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.004968, allocations: 0 / 1.005 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.004979, allocations: 0 / 1.005 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.205e-05/0.005051, allocations: 15.98 kB / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.005055, allocations: 0 / 1.005 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.579e-05/0.005091, allocations: 11.98 kB / 1.005 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.005097, allocations: 0 / 1.005 GB, free: 9.023 MB / 0.9636 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 (3): * Single equations (assignments): 3 * 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.0002923/0.005389, allocations: 117.8 kB / 1.005 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.005401, allocations: 4 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001872/0.005589, allocations: 113.5 kB / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.005592, allocations: 4 kB / 1.005 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.005595, allocations: 0 / 1.005 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.005598, allocations: 0 / 1.005 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.391e-05/0.005682, allocations: 109.3 kB / 1.005 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.005682, allocations: 0 / 1.005 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.78e-05/0.00572, allocations: 11.98 kB / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.005722, allocations: 0 / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.005728, allocations: 4 kB / 1.005 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.00573, allocations: 3.938 kB / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.005733, allocations: 7.984 kB / 1.005 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.005917, allocations: 192.2 kB / 1.005 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-06/0.005923, allocations: 4 kB / 1.005 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-06/0.005932, allocations: 0 / 1.005 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.077e-05/0.005983, allocations: 15.92 kB / 1.005 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.006015, allocations: 3.984 kB / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.006017, allocations: 4 kB / 1.005 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.966e-05/0.006047, allocations: 95.2 kB / 1.005 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.006047, allocations: 0 / 1.005 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001442/0.006191, allocations: 15.89 kB / 1.005 GB, free: 8.262 MB / 0.9636 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 (3): * Single equations (assignments): 3 * 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.574e-05/0.006257, allocations: 99.19 kB / 1.005 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001763/0.006433, allocations: 63.92 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.006434, allocations: 4 kB / 1.005 GB, free: 8.09 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.011e-05/0.006505, allocations: 39.95 kB / 1.005 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.006688, allocations: 0 / 1.005 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002357/0.006923, allocations: 158.4 kB / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.039e-05/0.006964, allocations: 67.33 kB / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.006991, allocations: 16.44 kB / 1.006 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of SimCode: time 5.21e-07/0.006991, allocations: 4 kB / 1.006 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of Templates: time 0.001374/0.008365, allocations: 0.7687 MB / 1.006 GB, free: 6.996 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.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.327359901741147]