Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 111.8 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00159/0.001591, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.729/2.729, allocations: 437.1 MB / 0.7177 GB, free: 4.562 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 71.89 kB / 1.028 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.299, allocations: 151.6 MB / 1.176 GB, free: 5.891 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001903/0.301, allocations: 0.71 MB / 1.177 GB, free: 5.176 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.302, allocations: 0.8355 MB / 1.177 GB, free: 4.328 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.807e-05/0.3021, allocations: 4 kB / 1.177 GB, free: 4.324 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.3021, allocations: 7.922 kB / 1.177 GB, free: 4.316 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.702e-05/0.3022, allocations: 3.938 kB / 1.177 GB, free: 4.312 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001331/0.3023, allocations: 15.98 kB / 1.177 GB, free: 4.297 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.315e-05/0.3024, allocations: 43.84 kB / 1.177 GB, free: 4.254 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3025, allocations: 8 kB / 1.177 GB, free: 4.246 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.626e-05/0.3026, allocations: 27.91 kB / 1.178 GB, free: 4.219 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.291e-05/0.3027, allocations: 19.92 kB / 1.178 GB, free: 4.199 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.3027, allocations: 4 kB / 1.178 GB, free: 4.195 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.275e-05/0.3027, allocations: 4 kB / 1.178 GB, free: 4.191 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.3027, allocations: 11.92 kB / 1.178 GB, free: 4.18 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.136e-05/0.3028, allocations: 15.94 kB / 1.178 GB, free: 4.164 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.594e-05/0.3029, allocations: 43.8 kB / 1.178 GB, free: 4.121 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.3029, allocations: 4 kB / 1.178 GB, free: 4.117 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.306e-06/0.3029, allocations: 0 / 1.178 GB, free: 4.117 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.3029, allocations: 3.938 kB / 1.178 GB, free: 4.113 MB / 0.92 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.0005694/0.3035, allocations: 363.3 kB / 1.178 GB, free: 3.707 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.3035, allocations: 8.031 kB / 1.178 GB, free: 3.699 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.3036, allocations: 4.891 kB / 1.178 GB, free: 3.695 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.3037, allocations: 172.3 kB / 1.178 GB, free: 3.488 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.3037, allocations: 4.312 kB / 1.178 GB, free: 3.484 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.3038, allocations: 8.375 kB / 1.178 GB, free: 3.477 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.304, allocations: 66.2 kB / 1.178 GB, free: 3.406 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.304, allocations: 192 / 1.178 GB, free: 3.406 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3041, allocations: 11.94 kB / 1.178 GB, free: 3.395 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.3041, allocations: 0 / 1.178 GB, free: 3.395 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/0.3044, allocations: 63.92 kB / 1.178 GB, free: 3.332 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/0.3048, allocations: 264.9 kB / 1.179 GB, free: 3.023 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.305, allocations: 62.42 kB / 1.179 GB, free: 2.953 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.3052, allocations: 40.91 kB / 1.179 GB, free: 2.91 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.3052, allocations: 0 / 1.179 GB, free: 2.91 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.3052, allocations: 30.56 kB / 1.179 GB, free: 2.871 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.3052, allocations: 0 / 1.179 GB, free: 2.871 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005726/0.3058, allocations: 133.6 kB / 1.179 GB, free: 2.734 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.3059, allocations: 55.34 kB / 1.179 GB, free: 2.668 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.306, allocations: 109.8 kB / 1.179 GB, free: 2.551 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.306, allocations: 25.7 kB / 1.179 GB, free: 2.52 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.139e-05/0.3061, allocations: 92.14 kB / 1.179 GB, free: 2.426 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.3061, allocations: 7.906 kB / 1.179 GB, free: 2.418 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.3061, allocations: 13.72 kB / 1.179 GB, free: 2.398 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.3063, allocations: 318.8 kB / 1.179 GB, free: 2.078 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.3065, allocations: 35.91 kB / 1.179 GB, free: 2.043 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.3066, allocations: 31.95 kB / 1.179 GB, free: 2.012 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.3069, allocations: 68.8 kB / 1.18 GB, free: 1.941 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.3069, allocations: 3.938 kB / 1.18 GB, free: 1.938 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003496/0.3073, allocations: 101.5 kB / 1.18 GB, free: 1.832 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.3073, allocations: 4 kB / 1.18 GB, free: 1.828 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3073, allocations: 4 kB / 1.18 GB, free: 1.824 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.3074, allocations: 0 / 1.18 GB, free: 1.824 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.3075, allocations: 15.98 kB / 1.18 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3075, allocations: 0 / 1.18 GB, free: 1.809 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.249e-05/0.3076, allocations: 15.92 kB / 1.18 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.3076, allocations: 4.328 kB / 1.18 GB, free: 1.789 MB / 0.92 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 9.607e-05/0.3077, allocations: 117.8 kB / 1.18 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.3077, allocations: 11.95 kB / 1.18 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004002/0.3081, allocations: 113.4 kB / 1.18 GB, free: 1.527 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3082, allocations: 0 / 1.18 GB, free: 1.527 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.3082, allocations: 3.938 kB / 1.18 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.3082, allocations: 0 / 1.18 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002012/0.3084, allocations: 165.6 kB / 1.18 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3084, allocations: 0 / 1.18 GB, free: 1.312 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.3085, allocations: 27.97 kB / 1.18 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3085, allocations: 0 / 1.18 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.3085, allocations: 0 / 1.18 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3085, allocations: 0 / 1.18 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3085, allocations: 0 / 1.18 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003967/0.3089, allocations: 195.4 kB / 1.18 GB, free: 1.078 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/0.309, allocations: 85.09 kB / 1.18 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.309, allocations: 0 / 1.18 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.3091, allocations: 15.98 kB / 1.18 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.3092, allocations: 0 / 1.18 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.3092, allocations: 0 / 1.18 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.709e-05/0.3093, allocations: 91.58 kB / 1.18 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3093, allocations: 3.938 kB / 1.18 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002204/0.3095, allocations: 12 kB / 1.18 GB, free: 0.8555 MB / 0.92 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.0001347/0.3096, allocations: 95.25 kB / 1.181 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003563/0.31, allocations: 67.92 kB / 1.181 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.31, allocations: 0 / 1.181 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.3102, allocations: 39.95 kB / 1.181 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.3105, allocations: 12.17 kB / 1.181 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003291/0.3108, allocations: 163.5 kB / 1.181 GB, free: 456 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.3112, allocations: 0.6768 MB / 1.181 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.577e-05/0.3112, allocations: 11.44 kB / 1.182 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of SimCode: time 3.1e-07/0.3112, allocations: 0 / 1.182 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of Templates: time 0.002292/0.3135, allocations: 0.7587 MB / 1.182 GB, free: 14.98 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.220988207962364]