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.001798/0.001798, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002829/0.002829, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.903/2.903, allocations: 476.7 MB / 0.7714 GB, free: 4.277 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.002716/0.002716, allocations: 66.97 kB / 1.118 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.419, allocations: 169.9 MB / 1.284 GB, free: 3.766 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002276/0.4213, allocations: 0.7256 MB / 1.285 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.4226, allocations: 0.8708 MB / 1.286 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.891e-05/0.4227, allocations: 4 kB / 1.286 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.934e-05/0.4227, allocations: 3.938 kB / 1.286 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.365e-05/0.4228, allocations: 7.938 kB / 1.286 GB, free: 2.141 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.423, allocations: 19.92 kB / 1.286 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.4231, allocations: 47.84 kB / 1.286 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.4232, allocations: 7.984 kB / 1.286 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.289e-05/0.4233, allocations: 23.92 kB / 1.286 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.186e-05/0.4233, allocations: 15.92 kB / 1.286 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.4234, allocations: 4 kB / 1.286 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.435e-05/0.4234, allocations: 12 kB / 1.286 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.4234, allocations: 7.984 kB / 1.286 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.4235, allocations: 19.88 kB / 1.286 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001525/0.4236, allocations: 60 kB / 1.286 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4236, allocations: 4 kB / 1.286 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4236, allocations: 0 / 1.286 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.4236, allocations: 0 / 1.286 GB, free: 1.922 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.0005327/0.4242, allocations: 286.2 kB / 1.286 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.4242, allocations: 8.031 kB / 1.286 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.891e-05/0.4242, allocations: 4.188 kB / 1.286 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.264e-05/0.4242, allocations: 34.75 kB / 1.286 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.446e-05/0.4243, allocations: 12.92 kB / 1.286 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.4245, allocations: 114.4 kB / 1.286 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.4245, allocations: 384 / 1.286 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.4245, allocations: 384 / 1.286 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.4248, allocations: 73.97 kB / 1.286 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.4248, allocations: 0 / 1.286 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.4248, allocations: 0 / 1.286 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4248, allocations: 0 / 1.286 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.4251, allocations: 71.86 kB / 1.287 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.4255, allocations: 236 kB / 1.287 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.4257, allocations: 54.53 kB / 1.287 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.4258, allocations: 40.92 kB / 1.287 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.4258, allocations: 3.938 kB / 1.287 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.4259, allocations: 38.5 kB / 1.287 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.4259, allocations: 0 / 1.287 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005894/0.4265, allocations: 133.5 kB / 1.287 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.084e-05/0.4265, allocations: 51.41 kB / 1.287 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.4266, allocations: 109.8 kB / 1.287 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.4266, allocations: 25.7 kB / 1.287 GB, free: 492 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.584e-05/0.4267, allocations: 88.08 kB / 1.287 GB, free: 400 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.4267, allocations: 3.953 kB / 1.287 GB, free: 396 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.4267, allocations: 21.7 kB / 1.287 GB, free: 368 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.4269, allocations: 318.8 kB / 1.288 GB, free: 40 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.427, allocations: 31.97 kB / 1.288 GB, free: 8 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.4272, allocations: 35.89 kB / 1.288 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.4275, allocations: 72.78 kB / 1.288 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4275, allocations: 0 / 1.288 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003339/0.4278, allocations: 97.91 kB / 1.288 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.4278, allocations: 4 kB / 1.288 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.4278, allocations: 0 / 1.288 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.4278, allocations: 0 / 1.288 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.428, allocations: 19.98 kB / 1.288 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.428, allocations: 3.984 kB / 1.288 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.375e-05/0.4281, allocations: 15.98 kB / 1.288 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.4281, allocations: 7.984 kB / 1.288 GB, free: 15.75 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 8.966e-05/0.4282, allocations: 118.8 kB / 1.288 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.4282, allocations: 0 / 1.288 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000384/0.4286, allocations: 109.6 kB / 1.288 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4286, allocations: 0 / 1.288 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.4286, allocations: 0 / 1.288 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4286, allocations: 0 / 1.288 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.4288, allocations: 152.6 kB / 1.288 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4288, allocations: 0 / 1.288 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.597e-05/0.4289, allocations: 19.92 kB / 1.288 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4289, allocations: 0 / 1.288 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.4289, allocations: 4 kB / 1.288 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4289, allocations: 0 / 1.288 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4289, allocations: 4 kB / 1.288 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003934/0.4293, allocations: 203.3 kB / 1.288 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.024e-05/0.4293, allocations: 3.953 kB / 1.288 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.4293, allocations: 4 kB / 1.288 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.4294, allocations: 11.98 kB / 1.289 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.4294, allocations: 11.98 kB / 1.289 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.4295, allocations: 0 / 1.289 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.095e-05/0.4295, allocations: 79.28 kB / 1.289 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4295, allocations: 0 / 1.289 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000223/0.4297, allocations: 12 kB / 1.289 GB, free: 14.95 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.0007273/0.4305, allocations: 0.728 MB / 1.289 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003593/0.4308, allocations: 71.92 kB / 1.289 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4308, allocations: 0 / 1.289 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.431, allocations: 35.95 kB / 1.289 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.4313, allocations: 4 kB / 1.289 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005287/0.4318, allocations: 163.8 kB / 1.29 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.4322, allocations: 0.6846 MB / 1.29 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.938e-05/0.4322, allocations: 0 / 1.29 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.4322, allocations: 19.42 kB / 1.29 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of SimCode: time 3.9e-07/0.4322, allocations: 0 / 1.29 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.457, allocations: 1.769 MB / 1.292 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.81, allocations: 9.562 kB / 1.292 GB, free: 11.53 MB / 0.9981 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.746414660010487]