Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002064/0.002064, allocations: 193.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.337/2.337, allocations: 390.3 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 67.89 kB / 0.8127 GB, free: 14.33 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5845/0.586, allocations: 140.4 MB / 0.9497 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.001749/0.5878, allocations: 0.7007 MB / 0.9504 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006365/0.5884, allocations: 0.8273 MB / 0.9512 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.358e-05/0.5885, allocations: 0 / 0.9512 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.531e-05/0.5885, allocations: 3.938 kB / 0.9512 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.04e-05/0.5886, allocations: 5.938 kB / 0.9512 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001273/0.5887, allocations: 15.3 kB / 0.9513 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.549e-05/0.5888, allocations: 43.88 kB / 0.9513 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.807e-05/0.5889, allocations: 17.89 kB / 0.9513 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.588e-05/0.5889, allocations: 21.61 kB / 0.9513 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.934e-05/0.589, allocations: 16.83 kB / 0.9514 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.589, allocations: 3.906 kB / 0.9514 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.589, allocations: 3.844 kB / 0.9514 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.589, allocations: 13.48 kB / 0.9514 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.963e-05/0.5891, allocations: 14.81 kB / 0.9514 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.83e-05/0.5891, allocations: 47.27 kB / 0.9514 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.5891, allocations: 0 / 0.9514 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5892, allocations: 1.312 kB / 0.9514 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.5892, allocations: 0 / 0.9514 GB, free: 7.793 MB / 0.7169 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.0003864/0.5896, allocations: 361.1 kB / 0.9518 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.5896, allocations: 9.625 kB / 0.9518 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.686e-05/0.5896, allocations: 34.75 kB / 0.9518 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.237e-05/0.5897, allocations: 3.688 kB / 0.9518 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.411e-05/0.5897, allocations: 179 kB / 0.952 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.5897, allocations: 5.688 kB / 0.952 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.085e-06/0.5897, allocations: 1.75 kB / 0.952 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.59, allocations: 70.88 kB / 0.9521 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.59, allocations: 5 kB / 0.9521 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.59, allocations: 0 / 0.9521 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.59, allocations: 1.156 kB / 0.9521 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002827/0.5903, allocations: 67.17 kB / 0.9521 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/0.5906, allocations: 270.6 kB / 0.9524 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.5908, allocations: 61.31 kB / 0.9525 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001437/0.5909, allocations: 43.77 kB / 0.9525 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.5909, allocations: 0 / 0.9525 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.279e-05/0.591, allocations: 31.88 kB / 0.9525 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.591, allocations: 0 / 0.9525 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005026/0.5915, allocations: 133.8 kB / 0.9527 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.937e-05/0.5915, allocations: 52.47 kB / 0.9527 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.126e-05/0.5916, allocations: 107.3 kB / 0.9528 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.745e-06/0.5916, allocations: 25.7 kB / 0.9528 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.181e-05/0.5916, allocations: 90.11 kB / 0.9529 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.5916, allocations: 13.66 kB / 0.9529 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.5916, allocations: 20.48 kB / 0.9529 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.257e-05/0.5917, allocations: 312.4 kB / 0.9532 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.5918, allocations: 29.22 kB / 0.9533 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.592, allocations: 33.3 kB / 0.9533 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.5923, allocations: 79.8 kB / 0.9534 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5923, allocations: 0 / 0.9534 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003038/0.5926, allocations: 101.6 kB / 0.9535 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.5926, allocations: 9.375 kB / 0.9535 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.5926, allocations: 0 / 0.9535 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.5926, allocations: 1.219 kB / 0.9535 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.5927, allocations: 22.95 kB / 0.9535 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.5928, allocations: 0 / 0.9535 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.776e-05/0.5928, allocations: 14.53 kB / 0.9535 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.5928, allocations: 1.5 kB / 0.9535 GB, free: 5.77 MB / 0.7169 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 4.585e-05/0.5929, allocations: 111.7 kB / 0.9536 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.5929, allocations: 1.031 kB / 0.9536 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003421/0.5933, allocations: 108.8 kB / 0.9537 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.5933, allocations: 5.438 kB / 0.9537 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.5933, allocations: 0 / 0.9537 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.5933, allocations: 0 / 0.9537 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.5934, allocations: 173 kB / 0.9539 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5934, allocations: 0.9062 kB / 0.9539 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.664e-05/0.5935, allocations: 18.2 kB / 0.9539 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.5935, allocations: 0 / 0.9539 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.5936, allocations: 5.312 kB / 0.9539 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5936, allocations: 0 / 0.9539 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5936, allocations: 1.5 kB / 0.9539 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.5939, allocations: 199.3 kB / 0.9541 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.736e-05/0.5939, allocations: 78.14 kB / 0.9542 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.5939, allocations: 4.969 kB / 0.9542 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.594, allocations: 11.42 kB / 0.9542 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.5941, allocations: 9.516 kB / 0.9542 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.5941, allocations: 1.438 kB / 0.9542 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.526e-05/0.5941, allocations: 85.33 kB / 0.9543 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5941, allocations: 0 / 0.9543 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002197/0.5944, allocations: 10 kB / 0.9543 GB, free: 4.984 MB / 0.7169 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.0005162/0.5949, allocations: 0.7366 MB / 0.955 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003287/0.5952, allocations: 70.95 kB / 0.9551 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5952, allocations: 0 / 0.9551 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.5954, allocations: 41.45 kB / 0.9551 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.5957, allocations: 10.91 kB / 0.9552 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.596, allocations: 160.2 kB / 0.9553 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.583e-05/0.5961, allocations: 0.6846 MB / 0.956 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.694e-05/0.5962, allocations: 4.031 kB / 0.956 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.742e-05/0.5962, allocations: 13.91 kB / 0.956 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.5962, allocations: 0 / 0.956 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.613, allocations: 1.592 MB / 0.9575 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.019/7.632, allocations: 13.14 kB / 0.9576 GB, free: 2.453 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches