Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001753/0.001753, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002082/0.002082, allocations: 213 kB / 23.01 MB, free: 4.566 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.798/2.798, allocations: 476.7 MB / 0.7714 GB, free: 4.262 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") [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.002046/0.002046, allocations: 68.38 kB / 1.119 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2894, allocations: 170 MB / 1.285 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.00201/0.2914, allocations: 0.7103 MB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.2926, allocations: 0.8744 MB / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.227e-05/0.2926, allocations: 0 / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.943e-05/0.2926, allocations: 7.875 kB / 1.286 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.187e-05/0.2927, allocations: 15.94 kB / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000172/0.2929, allocations: 19.91 kB / 1.286 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.293, allocations: 43.91 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.529e-05/0.2931, allocations: 8 kB / 1.286 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.898e-05/0.2931, allocations: 23.86 kB / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.931e-05/0.2932, allocations: 19.92 kB / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.2932, allocations: 4 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.808e-05/0.2933, allocations: 11.98 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.2933, allocations: 4 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.2933, allocations: 27.86 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.2934, allocations: 47.8 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2934, allocations: 4 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2934, allocations: 0 / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.2934, allocations: 0 / 1.286 GB, free: 9.344 MB / 0.9825 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.0005022/0.2939, allocations: 286.2 kB / 1.287 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.294, allocations: 8.031 kB / 1.287 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.489e-05/0.2941, allocations: 12.92 kB / 1.287 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.2942, allocations: 110.5 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.2942, allocations: 4.375 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.2942, allocations: 8.312 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002493/0.2944, allocations: 74.14 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.2944, allocations: 192 / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.2945, allocations: 3.938 kB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.2945, allocations: 0 / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/0.2947, allocations: 67.92 kB / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.2951, allocations: 236 kB / 1.287 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.2953, allocations: 58.41 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.2955, allocations: 40.92 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.2955, allocations: 0 / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.2955, allocations: 34.56 kB / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.2955, allocations: 0 / 1.287 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005234/0.296, allocations: 133.5 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/0.2961, allocations: 51.41 kB / 1.288 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.461e-05/0.2962, allocations: 113.8 kB / 1.288 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.2962, allocations: 25.7 kB / 1.288 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.2963, allocations: 88.08 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.2963, allocations: 11.89 kB / 1.288 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.2963, allocations: 17.7 kB / 1.288 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.2965, allocations: 318.8 kB / 1.288 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.2966, allocations: 27.97 kB / 1.288 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.2967, allocations: 35.95 kB / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.297, allocations: 68.72 kB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.297, allocations: 7.938 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003062/0.2973, allocations: 97.58 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2973, allocations: 8 kB / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.2973, allocations: 0 / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2973, allocations: 0 / 1.288 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.2975, allocations: 15.92 kB / 1.288 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.2975, allocations: 7.984 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.649e-05/0.2976, allocations: 15.98 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.2976, allocations: 0 / 1.288 GB, free: 7.207 MB / 0.9825 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.85e-05/0.2976, allocations: 113.8 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.2977, allocations: 0 / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003441/0.298, allocations: 109.6 kB / 1.289 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.298, allocations: 0 / 1.289 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.298, allocations: 7.938 kB / 1.289 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.298, allocations: 384 / 1.289 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.2982, allocations: 148.6 kB / 1.289 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2982, allocations: 4 kB / 1.289 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.829e-05/0.2983, allocations: 15.92 kB / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2983, allocations: 0 / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.2983, allocations: 4 kB / 1.289 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2983, allocations: 0 / 1.289 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2983, allocations: 7.984 kB / 1.289 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.2987, allocations: 195.4 kB / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.2987, allocations: 7.953 kB / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.2987, allocations: 0 / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.2988, allocations: 11.98 kB / 1.289 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.2989, allocations: 7.984 kB / 1.289 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.2989, allocations: 0 / 1.289 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.094e-05/0.2989, allocations: 91.58 kB / 1.289 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.2989, allocations: 0 / 1.289 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002185/0.2991, allocations: 4 kB / 1.289 GB, free: 6.414 MB / 0.9825 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.0001202/0.2993, allocations: 103.2 kB / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000338/0.2996, allocations: 71.86 kB / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2996, allocations: 0 / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.2998, allocations: 31.97 kB / 1.289 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.3001, allocations: 7.938 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.3004, allocations: 159.9 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.3007, allocations: 0.6845 MB / 1.29 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.279e-05/0.3008, allocations: 7.438 kB / 1.29 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3008, allocations: 3.938 kB / 1.29 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of Templates: time 0.002354/0.3031, allocations: 0.7512 MB / 1.291 GB, free: 4.539 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.791175373014994]