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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_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.004999/0.004999, allocations: 101.4 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 194.5 kB / 16.67 MB, free: 5.969 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.704/2.704, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 63.89 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7386/0.7405, allocations: 159.1 MB / 1.22 GB, free: 2.145 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.00181/0.7423, allocations: 0.6964 MB / 1.221 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009884/0.7433, allocations: 0.8312 MB / 1.222 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.953e-05/0.7434, allocations: 4 kB / 1.222 GB, free: 0.6016 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.522e-05/0.7434, allocations: 3.938 kB / 1.222 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.273e-05/0.7435, allocations: 7.922 kB / 1.222 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001361/0.7436, allocations: 15.98 kB / 1.222 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.934e-05/0.7437, allocations: 43.8 kB / 1.222 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.7439, allocations: 11.98 kB / 1.222 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.89e-05/0.7439, allocations: 23.92 kB / 1.222 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.78e-05/0.744, allocations: 19.92 kB / 1.222 GB, free: 488 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.744, allocations: 7.938 kB / 1.222 GB, free: 480 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.285e-05/0.744, allocations: 4 kB / 1.222 GB, free: 476 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.7441, allocations: 11.97 kB / 1.222 GB, free: 464 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.7441, allocations: 15.88 kB / 1.222 GB, free: 448 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.7442, allocations: 39.88 kB / 1.222 GB, free: 408 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.7442, allocations: 0 / 1.222 GB, free: 408 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7442, allocations: 0 / 1.222 GB, free: 408 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.7442, allocations: 0 / 1.222 GB, free: 408 kB / 0.9356 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.0005995/0.7448, allocations: 371 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.7449, allocations: 12.03 kB / 1.222 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.898e-05/0.7449, allocations: 34.69 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.407e-05/0.745, allocations: 4.891 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.7451, allocations: 168.4 kB / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.7451, allocations: 4.375 kB / 1.222 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.7452, allocations: 4.375 kB / 1.222 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.7454, allocations: 74.2 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.7455, allocations: 3.938 kB / 1.223 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.7455, allocations: 0 / 1.223 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.7455, allocations: 0 / 1.223 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003118/0.7458, allocations: 63.92 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003928/0.7462, allocations: 280.7 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.7464, allocations: 50.55 kB / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.7466, allocations: 40.91 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.7466, allocations: 0 / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.7467, allocations: 34.56 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.7467, allocations: 4 kB / 1.223 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0006047/0.7473, allocations: 133.5 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.7473, allocations: 51.41 kB / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.631e-05/0.7474, allocations: 113.8 kB / 1.223 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.7475, allocations: 29.7 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/0.7475, allocations: 92.08 kB / 1.223 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.7475, allocations: 7.906 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.7476, allocations: 17.72 kB / 1.223 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.7477, allocations: 314.8 kB / 1.224 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.7479, allocations: 27.97 kB / 1.224 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.7481, allocations: 39.95 kB / 1.224 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.7484, allocations: 68.73 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7484, allocations: 3.938 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003563/0.7487, allocations: 101.6 kB / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.7488, allocations: 4 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.7488, allocations: 0 / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.7488, allocations: 0 / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.7489, allocations: 19.92 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.7489, allocations: 0 / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.064e-05/0.749, allocations: 19.94 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.749, allocations: 0 / 1.224 GB, free: 14.02 MB / 0.9512 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.524e-05/0.7491, allocations: 121.8 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.7492, allocations: 4 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003901/0.7496, allocations: 109.8 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.7496, allocations: 0 / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.7496, allocations: 0 / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.7496, allocations: 4.031 kB / 1.224 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.7498, allocations: 169.6 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7498, allocations: 4 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.7499, allocations: 19.97 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.7499, allocations: 0 / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.7499, allocations: 0 / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7499, allocations: 0 / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.75, allocations: 0 / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004033/0.7504, allocations: 203.3 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/0.7504, allocations: 85.09 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.7504, allocations: 0 / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.7506, allocations: 11.98 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.7506, allocations: 0 / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.7506, allocations: 3.938 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.349e-05/0.7507, allocations: 91.27 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7507, allocations: 4 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002238/0.7509, allocations: 8 kB / 1.225 GB, free: 13.08 MB / 0.9512 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.0007848/0.7517, allocations: 0.7324 MB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003641/0.7521, allocations: 67.86 kB / 1.226 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.7521, allocations: 0 / 1.226 GB, free: 12.26 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.7523, allocations: 39.97 kB / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.7526, allocations: 11.98 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004357/0.753, allocations: 159.5 kB / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.7534, allocations: 0.6845 MB / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.987e-05/0.7534, allocations: 4 kB / 1.226 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.436e-05/0.7535, allocations: 11.44 kB / 1.226 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.7535, allocations: 3.938 kB / 1.226 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02158/0.7751, allocations: 1.636 MB / 1.228 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.758/8.533, allocations: 13.12 kB / 1.228 GB, free: 9.723 MB / 0.9512 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.csv","/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) Reference file matches