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.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.001686/0.001686, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.00232/0.00232, allocations: 202.5 kB / 22.17 MB, free: 5.207 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.566/1.566, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.049/3.049, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.002269/0.002269, allocations: 75.88 kB / 1.109 GB, free: 6.469 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9688/0.9711, allocations: 168.7 MB / 1.274 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.00222/0.9733, allocations: 0.7073 MB / 1.275 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001116/0.9744, allocations: 0.8351 MB / 1.276 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.42e-05/0.9744, allocations: 0 / 1.276 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.982e-05/0.9745, allocations: 7.938 kB / 1.276 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.571e-05/0.9745, allocations: 11.92 kB / 1.276 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.9747, allocations: 15.92 kB / 1.276 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.9748, allocations: 47.84 kB / 1.276 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.9749, allocations: 7.984 kB / 1.276 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.525e-05/0.975, allocations: 15.98 kB / 1.276 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.404e-05/0.9751, allocations: 23.86 kB / 1.276 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.9751, allocations: 4 kB / 1.276 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.9751, allocations: 7.938 kB / 1.276 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.99e-05/0.9751, allocations: 11.98 kB / 1.276 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.9752, allocations: 15.94 kB / 1.276 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.9753, allocations: 50.41 kB / 1.276 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.9753, allocations: 0 / 1.276 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9753, allocations: 0 / 1.276 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.9753, allocations: 0 / 1.276 GB, free: 2.598 MB / 0.9669 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.0006543/0.976, allocations: 367.2 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.976, allocations: 12.03 kB / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.976, allocations: 8.891 kB / 1.276 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.9762, allocations: 160.4 kB / 1.276 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.9762, allocations: 8.375 kB / 1.276 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.9762, allocations: 384 / 1.276 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000275/0.9765, allocations: 70.2 kB / 1.276 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.9765, allocations: 192 / 1.276 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.9765, allocations: 7.938 kB / 1.276 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.9765, allocations: 4 kB / 1.276 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003114/0.9769, allocations: 67.86 kB / 1.277 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.9773, allocations: 256.9 kB / 1.277 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.9775, allocations: 62.47 kB / 1.277 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.9777, allocations: 40.91 kB / 1.277 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.9777, allocations: 0 / 1.277 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.9777, allocations: 34.5 kB / 1.277 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.9777, allocations: 0 / 1.277 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005892/0.9783, allocations: 129.6 kB / 1.277 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.9784, allocations: 51.41 kB / 1.277 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.9785, allocations: 109.8 kB / 1.277 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.9785, allocations: 25.7 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.243e-05/0.9786, allocations: 92.12 kB / 1.277 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.9786, allocations: 11.84 kB / 1.277 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.9786, allocations: 17.72 kB / 1.277 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.9788, allocations: 322.8 kB / 1.278 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.979, allocations: 27.97 kB / 1.278 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.9791, allocations: 31.97 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.9794, allocations: 76.72 kB / 1.278 GB, free: 432 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.9794, allocations: 3.938 kB / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003411/0.9797, allocations: 93.91 kB / 1.278 GB, free: 328 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.9797, allocations: 7.984 kB / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.9798, allocations: 48 / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.9798, allocations: 7.984 kB / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.9799, allocations: 15.98 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.9799, allocations: 0 / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.449e-05/0.98, allocations: 19.88 kB / 1.278 GB, free: 276 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.98, allocations: 0 / 1.278 GB, free: 276 kB / 0.9669 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.0001022/0.9801, allocations: 114.3 kB / 1.278 GB, free: 152 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.9801, allocations: 7.984 kB / 1.278 GB, free: 144 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003905/0.9805, allocations: 113.5 kB / 1.278 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.9805, allocations: 0 / 1.278 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.9805, allocations: 0 / 1.278 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.9805, allocations: 0 / 1.278 GB, free: 20 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.9808, allocations: 173.6 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.9808, allocations: 0 / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.9809, allocations: 19.98 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.9809, allocations: 7.984 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.9809, allocations: 0 / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.9809, allocations: 0 / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.9809, allocations: 0 / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000411/0.9813, allocations: 195.3 kB / 1.278 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.9813, allocations: 85.11 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.9814, allocations: 0 / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.9815, allocations: 19.97 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.9815, allocations: 0 / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.9815, allocations: 0 / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.086e-05/0.9816, allocations: 91.27 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9816, allocations: 0 / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002189/0.9818, allocations: 8 kB / 1.279 GB, free: 15.35 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.0001603/0.982, allocations: 99.25 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003988/0.9824, allocations: 75.8 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.9824, allocations: 0 / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.9825, allocations: 35.95 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.9829, allocations: 15.94 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004137/0.9833, allocations: 142 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.9836, allocations: 0.6806 MB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.039e-05/0.9836, allocations: 4 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.9837, allocations: 11.44 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of SimCode: time 3.7e-07/0.9837, allocations: 0 / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of Templates: time 0.003421/0.9871, allocations: 0.6985 MB / 1.28 GB, free: 13.54 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 -s cvode -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_2/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.30345420120284]