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.001784/0.001784, allocations: 103.6 kB / 18.95 MB, free: 2.812 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.002208/0.002208, allocations: 213.6 kB / 22.25 MB, free: 5.105 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.807/1.807, allocations: 230.6 MB / 256 MB, free: 7.82 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 3.046/3.046, allocations: 476 MB / 0.7699 GB, free: 4.805 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.002148/0.002148, allocations: 66.33 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.394, allocations: 170 MB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002221/0.3962, allocations: 0.7039 MB / 1.284 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.3975, allocations: 0.8628 MB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.827e-05/0.3976, allocations: 0 / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.205e-05/0.3976, allocations: 3.938 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.514e-05/0.3977, allocations: 7.938 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.3979, allocations: 19.97 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.746e-05/0.398, allocations: 47.73 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.3981, allocations: 15.97 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.648e-05/0.3982, allocations: 19.98 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.77e-05/0.3982, allocations: 15.92 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.3983, allocations: 4 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.882e-05/0.3983, allocations: 12 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.3983, allocations: 7.938 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.086e-05/0.3984, allocations: 19.92 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.3985, allocations: 47.8 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3985, allocations: 0 / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3985, allocations: 0 / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.001e-05/0.3985, allocations: 0 / 1.285 GB, free: 10.16 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.0005799/0.3991, allocations: 294.2 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.3991, allocations: 8.031 kB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.3992, allocations: 12.88 kB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.3994, allocations: 114.4 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.3994, allocations: 384 / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.3994, allocations: 8.312 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002534/0.3996, allocations: 70.2 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3997, allocations: 192 / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3997, allocations: 3.938 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.3997, allocations: 8 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/0.4, allocations: 59.92 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003884/0.4003, allocations: 212.6 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.4006, allocations: 46.55 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.4007, allocations: 48.84 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.4007, allocations: 0 / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.4008, allocations: 30.56 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.4008, allocations: 0 / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005555/0.4013, allocations: 133.5 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/0.4014, allocations: 63.41 kB / 1.286 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.213e-05/0.4015, allocations: 105.8 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.4015, allocations: 25.7 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.61e-05/0.4016, allocations: 92.08 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.963e-05/0.4016, allocations: 3.953 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.4016, allocations: 13.72 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4018, allocations: 318.8 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.4019, allocations: 31.97 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.4021, allocations: 35.95 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.4023, allocations: 68.78 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.4023, allocations: 0 / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000325/0.4027, allocations: 109.5 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.4027, allocations: 7.938 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.4027, allocations: 0 / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.4027, allocations: 0 / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.4028, allocations: 15.98 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.4028, allocations: 0 / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.644e-05/0.4029, allocations: 11.98 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-06/0.4029, allocations: 3.984 kB / 1.287 GB, free: 8.07 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 0.0001052/0.403, allocations: 117.8 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.4031, allocations: 3.938 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003616/0.4034, allocations: 109.9 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4034, allocations: 4.031 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.4034, allocations: 7.938 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4034, allocations: 0 / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.4036, allocations: 117.2 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4036, allocations: 0 / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.746e-05/0.4037, allocations: 23.92 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4037, allocations: 0 / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.4037, allocations: 3.984 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.4037, allocations: 0 / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4037, allocations: 0 / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/0.4041, allocations: 191.5 kB / 1.287 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.312e-05/0.4041, allocations: 7.891 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.4042, allocations: 8 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.4043, allocations: 11.97 kB / 1.287 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.4043, allocations: 11.94 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.4043, allocations: 0 / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.193e-05/0.4044, allocations: 87.27 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4044, allocations: 0 / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002338/0.4046, allocations: 8 kB / 1.287 GB, free: 7.305 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.0001335/0.4047, allocations: 95.25 kB / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003419/0.4051, allocations: 67.92 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4051, allocations: 0 / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.4052, allocations: 35.95 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.4056, allocations: 6.031 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/0.4059, allocations: 138.1 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.739e-05/0.406, allocations: 67.33 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.049e-05/0.406, allocations: 0 / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.742e-05/0.406, allocations: 11.44 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.406, allocations: 3.938 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of Templates: time 0.003333/0.4094, allocations: 0.7468 MB / 1.288 GB, free: 6.098 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/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.96466114744544]