Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009309/0.0009309, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001259/0.002189, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007772/0.0007772, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009648/0.001742, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9409/0.9409, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09328/1.034, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.87/1.87, allocations: 378.2 MB / 0.6076 GB, free: 7.844 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5507/2.421, allocations: 123.3 MB / 0.728 GB, free: 5.848 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0.5469 kB / 0.7294 GB, free: 4.488 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.213e-05/1.324e-05, allocations: 6.25 kB / 0.7294 GB, free: 4.48 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001183/0.001196, allocations: 0.7569 MB / 0.7301 GB, free: 3.746 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0007567/0.001953, allocations: 0.8951 MB / 0.731 GB, free: 2.844 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.001977, allocations: 1.75 kB / 0.731 GB, free: 2.844 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.001994, allocations: 0 / 0.731 GB, free: 2.844 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.336e-05/0.002027, allocations: 7.219 kB / 0.731 GB, free: 2.84 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 7.294e-05/0.0021, allocations: 25.28 kB / 0.731 GB, free: 2.816 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.006e-05/0.00217, allocations: 44.17 kB / 0.7311 GB, free: 2.781 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.139e-05/0.002232, allocations: 15.97 kB / 0.7311 GB, free: 2.766 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.225e-05/0.002304, allocations: 27.62 kB / 0.7311 GB, free: 2.742 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.784e-05/0.002342, allocations: 21.39 kB / 0.7311 GB, free: 2.723 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.002355, allocations: 4.766 kB / 0.7312 GB, free: 2.719 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.877e-05/0.002403, allocations: 9.719 kB / 0.7312 GB, free: 2.711 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.002415, allocations: 5.75 kB / 0.7312 GB, free: 2.707 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.418e-05/0.002429, allocations: 6.078 kB / 0.7312 GB, free: 2.703 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.524e-05/0.002514, allocations: 37.16 kB / 0.7312 GB, free: 2.668 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.329e-05/0.002527, allocations: 0.75 kB / 0.7312 GB, free: 2.668 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.02e-07/0.002528, allocations: 0 / 0.7312 GB, free: 2.668 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.569e-05/0.002544, allocations: 5.594 kB / 0.7312 GB, free: 2.664 MB / 0.698 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.0003331/0.002877, allocations: 248.6 kB / 0.7315 GB, free: 2.395 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.784e-05/0.002905, allocations: 12.03 kB / 0.7315 GB, free: 2.383 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.003017, allocations: 93.95 kB / 0.7316 GB, free: 2.273 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.713e-05/0.003094, allocations: 118.5 kB / 0.7317 GB, free: 2.133 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.003103, allocations: 384 / 0.7317 GB, free: 2.133 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-06/0.003112, allocations: 13.19 kB / 0.7317 GB, free: 2.121 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.003216, allocations: 62.92 kB / 0.7317 GB, free: 2.051 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.003223, allocations: 0.75 kB / 0.7317 GB, free: 2.051 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.00323, allocations: 5.156 kB / 0.7317 GB, free: 2.047 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.003235, allocations: 384 / 0.7317 GB, free: 2.047 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.328e-05/0.003258, allocations: 9.031 kB / 0.7318 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.003455, allocations: 152.3 kB / 0.7319 GB, free: 1.875 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.042e-05/0.003506, allocations: 28.05 kB / 0.7319 GB, free: 1.84 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.423e-05/0.00352, allocations: 8.859 kB / 0.7319 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.003535, allocations: 0 / 0.7319 GB, free: 1.828 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.003554, allocations: 34.56 kB / 0.732 GB, free: 1.785 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.302e-06/0.003556, allocations: 1.031 kB / 0.732 GB, free: 1.785 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 9.836e-05/0.003654, allocations: 41.72 kB / 0.732 GB, free: 1.738 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/0.003684, allocations: 63.33 kB / 0.7321 GB, free: 1.664 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.85e-05/0.003732, allocations: 107.7 kB / 0.7322 GB, free: 1.547 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.228e-06/0.003741, allocations: 29.69 kB / 0.7322 GB, free: 1.512 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.859e-05/0.00377, allocations: 92.94 kB / 0.7323 GB, free: 1.418 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.003785, allocations: 7.891 kB / 0.7323 GB, free: 1.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.003812, allocations: 17.7 kB / 0.7323 GB, free: 1.387 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.953e-05/0.003882, allocations: 315.4 kB / 0.7326 GB, free: 1.07 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.121e-05/0.003893, allocations: 4.656 kB / 0.7326 GB, free: 1.066 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.296e-06/0.003901, allocations: 3.938 kB / 0.7326 GB, free: 1.062 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.305e-05/0.003924, allocations: 18.91 kB / 0.7326 GB, free: 1.043 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.003926, allocations: 0 / 0.7326 GB, free: 1.043 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.188e-05/0.003968, allocations: 41.62 kB / 0.7327 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.003978, allocations: 8 kB / 0.7327 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.003981, allocations: 0 / 0.7327 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.00399, allocations: 6.125 kB / 0.7327 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.018e-05/0.004061, allocations: 12 kB / 0.7327 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.004066, allocations: 4 kB / 0.7327 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.957e-05/0.004085, allocations: 7.984 kB / 0.7327 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.00409, allocations: 0 / 0.7327 GB, free: 0.9609 MB / 0.698 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 5.075e-05/0.004141, allocations: 111.4 kB / 0.7328 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/0.004152, allocations: 0 / 0.7328 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.79e-05/0.00422, allocations: 50 kB / 0.7329 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.004224, allocations: 7.984 kB / 0.7329 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.004227, allocations: 5.234 kB / 0.7329 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.004229, allocations: 0 / 0.7329 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.977e-05/0.004309, allocations: 73.88 kB / 0.733 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.6e-07/0.00431, allocations: 0 / 0.733 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.905e-05/0.004339, allocations: 17.08 kB / 0.733 GB, free: 0.668 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-06/0.004345, allocations: 3.953 kB / 0.733 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.004346, allocations: 0.9062 kB / 0.733 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-06/0.004351, allocations: 0 / 0.733 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.004351, allocations: 4 kB / 0.733 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.004353, allocations: 4.625 kB / 0.733 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.589e-05/0.004429, allocations: 135.5 kB / 0.7331 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.584e-06/0.004436, allocations: 1.781 kB / 0.7331 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.412e-05/0.004471, allocations: 7.984 kB / 0.7331 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-05/0.004495, allocations: 0 / 0.7331 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-06/0.004499, allocations: 3.938 kB / 0.7331 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.649e-05/0.004515, allocations: 23.67 kB / 0.7331 GB, free: 484 kB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.004515, allocations: 0 / 0.7331 GB, free: 484 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001103/0.004626, allocations: 12 kB / 0.7332 GB, free: 472 kB / 0.698 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.554e-05/0.004691, allocations: 76.36 kB / 0.7332 GB, free: 388 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.558e-05/0.004757, allocations: 16.84 kB / 0.7332 GB, free: 368 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.004763, allocations: 4 kB / 0.7332 GB, free: 364 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.578e-05/0.004778, allocations: 15.55 kB / 0.7333 GB, free: 348 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.004912, allocations: 18.48 kB / 0.7333 GB, free: 332 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/0.005483, allocations: 148.4 kB / 0.7334 GB, free: 156 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.118e-05/0.005514, allocations: 56.17 kB / 0.7335 GB, free: 80 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.775e-05/0.005532, allocations: 0.75 kB / 0.7335 GB, free: 80 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.593e-05/0.005578, allocations: 55.36 kB / 0.7335 GB, free: 24 kB / 0.698 GB Notification: Performance of SimCode: time 6.91e-07/0.005578, allocations: 0.75 kB / 0.7335 GB, free: 24 kB / 0.698 GB Notification: Performance of Templates: time 0.001959/0.007538, allocations: 0.69 MB / 0.7342 GB, free: 15.37 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.837402710691094]