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.001721/0.001721, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002169/0.002169, allocations: 219.9 kB / 23.03 MB, free: 4.945 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.567/1.567, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.875/2.875, allocations: 476.8 MB / 0.7715 GB, free: 3.883 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="cs",version="2.0",platforms={"static"}) [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.001964/0.001964, allocations: 67.66 kB / 1.118 GB, free: 39.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3558, allocations: 170 MB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002062/0.3578, allocations: 0.6885 MB / 1.285 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.3589, allocations: 0.8667 MB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.411e-05/0.359, allocations: 4 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.912e-05/0.359, allocations: 3.938 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.343e-05/0.359, allocations: 3.938 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.3593, allocations: 27.91 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.624e-05/0.3594, allocations: 39.92 kB / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3595, allocations: 9.391 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.553e-05/0.3595, allocations: 15.94 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.274e-05/0.3596, allocations: 31.89 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.3596, allocations: 4 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.647e-05/0.3596, allocations: 8 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.345e-05/0.3597, allocations: 12 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.112e-05/0.3597, allocations: 19.86 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.3598, allocations: 43.38 kB / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3598, allocations: 0 / 1.286 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3598, allocations: 4 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.3598, allocations: 3.938 kB / 1.286 GB, free: 8.781 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.0005358/0.3604, allocations: 290.2 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3604, allocations: 8.031 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.374e-05/0.3604, allocations: 4.188 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.075e-05/0.3605, allocations: 34.75 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.088e-05/0.3605, allocations: 8.891 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.3607, allocations: 110.5 kB / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.3607, allocations: 4.375 kB / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.3607, allocations: 384 / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.3609, allocations: 81.95 kB / 1.286 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3609, allocations: 0 / 1.286 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.361, allocations: 0 / 1.286 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.361, allocations: 0 / 1.286 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002777/0.3612, allocations: 71.86 kB / 1.286 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003709/0.3616, allocations: 224 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.3618, allocations: 62.52 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/0.362, allocations: 32.92 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.362, allocations: 8 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.362, allocations: 34.5 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.362, allocations: 0 / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005293/0.3625, allocations: 129.5 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.3626, allocations: 59.28 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.3627, allocations: 117.8 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.3627, allocations: 25.7 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.038e-05/0.3627, allocations: 84.08 kB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.3628, allocations: 15.94 kB / 1.287 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.3628, allocations: 13.72 kB / 1.287 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.363, allocations: 318.8 kB / 1.288 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.3631, allocations: 31.95 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.3632, allocations: 35.97 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/0.3635, allocations: 68.72 kB / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3635, allocations: 0 / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003072/0.3638, allocations: 97.58 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3638, allocations: 12 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3638, allocations: 0 / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3638, allocations: 0 / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.364, allocations: 19.97 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.364, allocations: 320 / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.778e-05/0.3641, allocations: 11.98 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.3641, allocations: 0 / 1.288 GB, free: 6.609 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 9.389e-05/0.3642, allocations: 113.8 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.3642, allocations: 4 kB / 1.288 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003577/0.3645, allocations: 113.5 kB / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3645, allocations: 0 / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3645, allocations: 0 / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3646, allocations: 0 / 1.288 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.3647, allocations: 140.6 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3647, allocations: 0 / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.495e-05/0.3648, allocations: 15.98 kB / 1.288 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3648, allocations: 4 kB / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3648, allocations: 0 / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3648, allocations: 0 / 1.288 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3648, allocations: 3.984 kB / 1.288 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003759/0.3652, allocations: 207.7 kB / 1.288 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.709e-06/0.3652, allocations: 3.953 kB / 1.288 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.3652, allocations: 0 / 1.288 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.3654, allocations: 15.98 kB / 1.288 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.696e-05/0.3654, allocations: 19.95 kB / 1.288 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.3654, allocations: 0 / 1.288 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.413e-05/0.3655, allocations: 79.28 kB / 1.288 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3655, allocations: 0 / 1.288 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002183/0.3657, allocations: 12 kB / 1.289 GB, free: 5.812 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.0006949/0.3664, allocations: 0.7318 MB / 1.289 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003276/0.3667, allocations: 67.92 kB / 1.289 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3667, allocations: 0 / 1.289 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.3668, allocations: 35.95 kB / 1.289 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.3672, allocations: 10.03 kB / 1.289 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005065/0.3677, allocations: 173.4 kB / 1.289 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.153e-05/0.3678, allocations: 63.34 kB / 1.29 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.765e-05/0.3678, allocations: 0 / 1.29 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.869e-05/0.3678, allocations: 11.44 kB / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3678, allocations: 4 kB / 1.29 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.3902, allocations: 1.818 MB / 1.291 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.76, allocations: 8.062 kB / 1.291 GB, free: 2.973 MB / 0.9825 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 420.0] 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/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: 18.72061872901395]