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.002096/0.002096, allocations: 113 kB / 18.94 MB, free: 2.934 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.001908/0.001908, allocations: 209.6 kB / 22.25 MB, free: 5.086 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.633/1.633, allocations: 230.6 MB / 256 MB, free: 8.027 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.984/2.984, allocations: 476.7 MB / 0.7706 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 176] 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.002956/0.002956, allocations: 65.12 kB / 1.118 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4345/0.4375, allocations: 169.9 MB / 1.284 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002417/0.4399, allocations: 0.7286 MB / 1.285 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.4412, allocations: 0.8747 MB / 1.285 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.921e-05/0.4413, allocations: 0 / 1.285 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.984e-05/0.4413, allocations: 3.938 kB / 1.285 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.297e-05/0.4414, allocations: 11.94 kB / 1.285 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.4416, allocations: 19.92 kB / 1.285 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.4418, allocations: 43.84 kB / 1.286 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.4419, allocations: 11.94 kB / 1.286 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.442, allocations: 23.92 kB / 1.286 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.912e-05/0.442, allocations: 19.91 kB / 1.286 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.4421, allocations: 4 kB / 1.286 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.104e-05/0.4421, allocations: 15.94 kB / 1.286 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.148e-05/0.4421, allocations: 7.984 kB / 1.286 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.779e-05/0.4422, allocations: 19.88 kB / 1.286 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.4424, allocations: 55.78 kB / 1.286 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4424, allocations: 4 kB / 1.286 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.275e-06/0.4424, allocations: 0 / 1.286 GB, free: 1.422 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.4424, allocations: 0 / 1.286 GB, free: 1.422 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.0006342/0.443, allocations: 284.3 kB / 1.286 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.4431, allocations: 8.031 kB / 1.286 GB, free: 1.105 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.4432, allocations: 8.891 kB / 1.286 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.4434, allocations: 114.5 kB / 1.286 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.4434, allocations: 4.375 kB / 1.286 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.4434, allocations: 8.375 kB / 1.286 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.4437, allocations: 66.22 kB / 1.286 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.4437, allocations: 192 / 1.286 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.4438, allocations: 3.938 kB / 1.286 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.4438, allocations: 3.938 kB / 1.286 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003465/0.4441, allocations: 67.92 kB / 1.286 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004834/0.4446, allocations: 232 kB / 1.286 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.4448, allocations: 54.48 kB / 1.286 GB, free: 484 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.445, allocations: 44.91 kB / 1.287 GB, free: 436 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.445, allocations: 0 / 1.287 GB, free: 436 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.445, allocations: 34.5 kB / 1.287 GB, free: 392 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.445, allocations: 3.938 kB / 1.287 GB, free: 388 kB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005588/0.4456, allocations: 133.7 kB / 1.287 GB, free: 248 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.4456, allocations: 55.39 kB / 1.287 GB, free: 180 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.4457, allocations: 113.8 kB / 1.287 GB, free: 56 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.4458, allocations: 25.7 kB / 1.287 GB, free: 24 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.851e-05/0.4458, allocations: 88.08 kB / 1.287 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.4459, allocations: 7.953 kB / 1.287 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-05/0.4459, allocations: 9.719 kB / 1.287 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.4461, allocations: 322.8 kB / 1.287 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.4462, allocations: 31.97 kB / 1.287 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.4464, allocations: 39.89 kB / 1.287 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002617/0.4466, allocations: 60.8 kB / 1.287 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.4466, allocations: 3.938 kB / 1.287 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003215/0.447, allocations: 105.6 kB / 1.288 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.447, allocations: 8 kB / 1.288 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.447, allocations: 3.938 kB / 1.288 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.447, allocations: 0 / 1.288 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.4471, allocations: 11.98 kB / 1.288 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.4471, allocations: 4 kB / 1.288 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.427e-05/0.4472, allocations: 11.98 kB / 1.288 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.4472, allocations: 4 kB / 1.288 GB, free: 15.3 MB / 0.9981 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.0001163/0.4473, allocations: 121.7 kB / 1.288 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.4474, allocations: 4 kB / 1.288 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003648/0.4477, allocations: 105.6 kB / 1.288 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.4477, allocations: 0 / 1.288 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4477, allocations: 4 kB / 1.288 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.4477, allocations: 4 kB / 1.288 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.448, allocations: 140.6 kB / 1.288 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.448, allocations: 0 / 1.288 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.4481, allocations: 19.97 kB / 1.288 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.4481, allocations: 4 kB / 1.288 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.4481, allocations: 0 / 1.288 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4481, allocations: 0 / 1.288 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4481, allocations: 4 kB / 1.288 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003744/0.4485, allocations: 191.4 kB / 1.288 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.271e-05/0.4485, allocations: 7.953 kB / 1.288 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.4485, allocations: 11.92 kB / 1.288 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.4486, allocations: 11.98 kB / 1.288 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.171e-05/0.4487, allocations: 4 kB / 1.288 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-06/0.4487, allocations: 0 / 1.288 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.371e-05/0.4487, allocations: 91.58 kB / 1.288 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.4487, allocations: 0 / 1.288 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002242/0.449, allocations: 4 kB / 1.288 GB, free: 14.5 MB / 0.9981 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.0001426/0.4491, allocations: 95.25 kB / 1.288 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003321/0.4494, allocations: 71.86 kB / 1.288 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.4494, allocations: 4 kB / 1.288 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.4496, allocations: 36.28 kB / 1.288 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.4499, allocations: 8.172 kB / 1.288 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.4503, allocations: 138.2 kB / 1.289 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004681/0.4508, allocations: 0.6807 MB / 1.289 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.681e-05/0.4508, allocations: 96 / 1.289 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.4508, allocations: 11.44 kB / 1.289 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.4508, allocations: 0 / 1.289 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.003563/0.4544, allocations: 0.7081 MB / 1.29 GB, free: 12.7 MB / 0.9981 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: 9.536498510278761]