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.001469/0.001469, allocations: 80.06 kB / 19.18 MB, free: 2.52 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.001652/0.001652, allocations: 167.9 kB / 22.46 MB, free: 5.379 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.486/1.486, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.722/2.722, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 3.346e-06/3.346e-06, allocations: 3.938 kB / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.735e-05/4.07e-05, allocations: 2.281 kB / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002214/0.002255, allocations: 0.6977 MB / 0.9517 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001502/0.003757, allocations: 0.8704 MB / 0.9526 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.035e-05/0.003817, allocations: 0 / 0.9526 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.127e-05/0.003849, allocations: 0 / 0.9526 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.225e-05/0.003931, allocations: 11.86 kB / 0.9526 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002307/0.004162, allocations: 19.92 kB / 0.9526 GB, free: 9.906 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.004289, allocations: 43.86 kB / 0.9526 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.004419, allocations: 11.98 kB / 0.9527 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.004525, allocations: 27.91 kB / 0.9527 GB, free: 9.824 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.124e-05/0.004576, allocations: 11.98 kB / 0.9527 GB, free: 9.812 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.004598, allocations: 8 kB / 0.9527 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.523e-05/0.004653, allocations: 12 kB / 0.9527 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.004675, allocations: 7.984 kB / 0.9527 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.004707, allocations: 11.94 kB / 0.9527 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.004859, allocations: 51.84 kB / 0.9528 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.004863, allocations: 0 / 0.9528 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.313e-06/0.004864, allocations: 0 / 0.9528 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.004868, allocations: 0 / 0.9528 GB, free: 9.723 MB / 0.8575 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.0006199/0.005488, allocations: 294.1 kB / 0.9531 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.005537, allocations: 12.03 kB / 0.9531 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/0.005674, allocations: 4.938 kB / 0.9531 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.00581, allocations: 113.7 kB / 0.9532 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.005827, allocations: 4.375 kB / 0.9532 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.005845, allocations: 4.375 kB / 0.9532 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.00615, allocations: 74.14 kB / 0.9533 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.006162, allocations: 192 / 0.9533 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.006174, allocations: 384 / 0.9533 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.006185, allocations: 4.375 kB / 0.9533 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003046/0.006489, allocations: 67.86 kB / 0.9533 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.006931, allocations: 204.6 kB / 0.9535 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/0.007164, allocations: 50.48 kB / 0.9536 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.007327, allocations: 44.91 kB / 0.9536 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.971e-05/0.007357, allocations: 8 kB / 0.9536 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.007397, allocations: 30.56 kB / 0.9537 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.007398, allocations: 0 / 0.9537 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0006034/0.008001, allocations: 133.5 kB / 0.9538 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.00805, allocations: 55.41 kB / 0.9538 GB, free: 8.508 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.008169, allocations: 113.8 kB / 0.9539 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.00819, allocations: 25.7 kB / 0.954 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.008256, allocations: 88.14 kB / 0.9541 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.008284, allocations: 11.84 kB / 0.9541 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.008325, allocations: 17.72 kB / 0.9541 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.008486, allocations: 314.8 kB / 0.9544 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.008636, allocations: 31.97 kB / 0.9544 GB, free: 7.883 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.008779, allocations: 31.95 kB / 0.9544 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.00907, allocations: 72.78 kB / 0.9545 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.009072, allocations: 0 / 0.9545 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003458/0.009418, allocations: 93.91 kB / 0.9546 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.009448, allocations: 7.938 kB / 0.9546 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.009453, allocations: 7.938 kB / 0.9546 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.009475, allocations: 48 / 0.9546 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.009625, allocations: 19.97 kB / 0.9546 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.009632, allocations: 0 / 0.9546 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.191e-05/0.009714, allocations: 15.98 kB / 0.9547 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.009726, allocations: 7.922 kB / 0.9547 GB, free: 7.621 MB / 0.8575 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.0001087/0.009835, allocations: 109.8 kB / 0.9548 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.009862, allocations: 3.953 kB / 0.9548 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003947/0.01026, allocations: 113.5 kB / 0.9549 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.01026, allocations: 0 / 0.9549 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.01027, allocations: 4 kB / 0.9549 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01027, allocations: 0 / 0.9549 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.01044, allocations: 113.3 kB / 0.955 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01044, allocations: 0 / 0.955 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.01054, allocations: 23.86 kB / 0.955 GB, free: 7.211 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.01054, allocations: 4 kB / 0.955 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.01055, allocations: 4 kB / 0.955 GB, free: 7.203 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.01056, allocations: 7.922 kB / 0.955 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01056, allocations: 0 / 0.955 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004843/0.01104, allocations: 187.5 kB / 0.9552 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.14e-05/0.01105, allocations: 3.953 kB / 0.9552 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.01107, allocations: 4 kB / 0.9552 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.01118, allocations: 19.91 kB / 0.9552 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/0.01124, allocations: 8 kB / 0.9552 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.01125, allocations: 0 / 0.9552 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.119e-05/0.01132, allocations: 91.56 kB / 0.9553 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.01132, allocations: 0 / 0.9553 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002226/0.01154, allocations: 8 kB / 0.9553 GB, free: 6.863 MB / 0.8575 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.0002246/0.01176, allocations: 95.25 kB / 0.9554 GB, free: 6.762 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003673/0.01213, allocations: 71.86 kB / 0.9555 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01213, allocations: 0 / 0.9555 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.01229, allocations: 35.95 kB / 0.9555 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.01263, allocations: 4 kB / 0.9555 GB, free: 6.652 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004094/0.01304, allocations: 124.9 kB / 0.9557 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.293e-05/0.01312, allocations: 71.33 kB / 0.9557 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.974e-05/0.01315, allocations: 7.938 kB / 0.9557 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.01318, allocations: 8.5 kB / 0.9557 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of SimCode: time 3.61e-07/0.01318, allocations: 0 / 0.9557 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of Templates: time 0.003899/0.01708, allocations: 0.7382 MB / 0.9565 GB, free: 5.668 MB / 0.8575 GB " [Timeout remaining time 300] 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/jenkins/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: 8.013436298817396]