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.001883/0.001883, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002102/0.002102, allocations: 163.1 kB / 22.46 MB, free: 5.375 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.65/1.65, allocations: 177.1 MB / 202.8 MB, free: 9.172 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 3.087/3.087, allocations: 389 MB / 0.633 GB, free: 0.9766 MB / 0.5919 GB " [Timeout remaining time 176] 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 2.645e-06/2.645e-06, allocations: 0 / 1 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.63e-05/3.894e-05, allocations: 2.281 kB / 1 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001956/0.001995, allocations: 0.697 MB / 1.001 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001247/0.003242, allocations: 0.8665 MB / 1.002 GB, free: 5.609 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.337e-05/0.003295, allocations: 4 kB / 1.002 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.794e-05/0.003333, allocations: 3.938 kB / 1.002 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.709e-05/0.00341, allocations: 11.92 kB / 1.002 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.003635, allocations: 11.98 kB / 1.002 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.003742, allocations: 51.78 kB / 1.002 GB, free: 5.527 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.003856, allocations: 7.984 kB / 1.002 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.432e-05/0.003951, allocations: 23.98 kB / 1.002 GB, free: 5.496 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.877e-05/0.003999, allocations: 19.97 kB / 1.002 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.00402, allocations: 4 kB / 1.002 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.399e-05/0.004094, allocations: 11.94 kB / 1.002 GB, free: 5.461 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.461e-05/0.004118, allocations: 8 kB / 1.002 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.004153, allocations: 15.97 kB / 1.002 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001503/0.004303, allocations: 43.81 kB / 1.002 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.004306, allocations: 7.938 kB / 1.002 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.91e-07/0.004307, allocations: 0 / 1.002 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.004316, allocations: 0 / 1.002 GB, free: 5.387 MB / 0.9512 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.0006065/0.004923, allocations: 290.2 kB / 1.002 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.004966, allocations: 8.031 kB / 1.002 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.005071, allocations: 12.89 kB / 1.002 GB, free: 5.051 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.005237, allocations: 109.8 kB / 1.002 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.005247, allocations: 384 / 1.002 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.005268, allocations: 4.375 kB / 1.002 GB, free: 4.914 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002919/0.00556, allocations: 70.2 kB / 1.002 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.005572, allocations: 192 / 1.002 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.005584, allocations: 384 / 1.002 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.005589, allocations: 384 / 1.002 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003141/0.005903, allocations: 75.8 kB / 1.002 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004079/0.006311, allocations: 212.6 kB / 1.003 GB, free: 4.527 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.006539, allocations: 54.53 kB / 1.003 GB, free: 4.465 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.006705, allocations: 40.92 kB / 1.003 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.006735, allocations: 0 / 1.003 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.006763, allocations: 34.56 kB / 1.003 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.006764, allocations: 3.938 kB / 1.003 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0006125/0.007377, allocations: 141.5 kB / 1.003 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.007422, allocations: 55.41 kB / 1.003 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.804e-05/0.00752, allocations: 109.8 kB / 1.003 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.007544, allocations: 33.7 kB / 1.003 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/0.007595, allocations: 84.14 kB / 1.003 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.007618, allocations: 7.953 kB / 1.003 GB, free: 3.914 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.007655, allocations: 17.7 kB / 1.003 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.007788, allocations: 314.8 kB / 1.004 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/0.007958, allocations: 31.97 kB / 1.004 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.0081, allocations: 27.95 kB / 1.004 GB, free: 3.516 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.008393, allocations: 76.72 kB / 1.004 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.008395, allocations: 0 / 1.004 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003583/0.008753, allocations: 105.6 kB / 1.004 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.00877, allocations: 7.938 kB / 1.004 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.008774, allocations: 4 kB / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.008789, allocations: 0 / 1.004 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.008917, allocations: 15.98 kB / 1.004 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.008923, allocations: 0 / 1.004 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.723e-05/0.00901, allocations: 15.97 kB / 1.004 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.009017, allocations: 0 / 1.004 GB, free: 3.285 MB / 0.9512 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 8.308e-05/0.009101, allocations: 113.8 kB / 1.004 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.009125, allocations: 0 / 1.004 GB, free: 3.164 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003941/0.009519, allocations: 113.5 kB / 1.004 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.009521, allocations: 0 / 1.004 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.009526, allocations: 0 / 1.004 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.009529, allocations: 0 / 1.004 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.009674, allocations: 113.3 kB / 1.004 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.009675, allocations: 0 / 1.004 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001017/0.009777, allocations: 19.97 kB / 1.004 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.00978, allocations: 0 / 1.004 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.009789, allocations: 4 kB / 1.004 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.009793, allocations: 3.938 kB / 1.004 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.009793, allocations: 0 / 1.004 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003949/0.01019, allocations: 195.4 kB / 1.004 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.015e-06/0.0102, allocations: 0 / 1.004 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.01021, allocations: 3.984 kB / 1.004 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.01033, allocations: 19.92 kB / 1.004 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.01038, allocations: 8 kB / 1.004 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.01038, allocations: 3.938 kB / 1.004 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.915e-05/0.01045, allocations: 87.27 kB / 1.004 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01045, allocations: 0 / 1.004 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002271/0.01068, allocations: 15.89 kB / 1.004 GB, free: 2.531 MB / 0.9512 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 0.0001399/0.01082, allocations: 99.17 kB / 1.005 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003689/0.01119, allocations: 71.92 kB / 1.005 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01119, allocations: 0 / 1.005 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.01135, allocations: 40.27 kB / 1.005 GB, free: 2.316 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.01167, allocations: 8 kB / 1.005 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003649/0.01204, allocations: 128.7 kB / 1.005 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.437e-05/0.0121, allocations: 67.34 kB / 1.005 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.51e-05/0.01213, allocations: 96 / 1.005 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.01216, allocations: 20.48 kB / 1.005 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of SimCode: time 2.91e-07/0.01216, allocations: 0 / 1.005 GB, free: 2.051 MB / 0.9512 GB Notification: Performance of Templates: time 0.003456/0.01562, allocations: 0.7336 MB / 1.006 GB, free: 1.328 MB / 0.9512 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: 8.735784746706486]