Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="Buildings_10_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.0114/0.0114, allocations: 101.1 kB / 15.73 MB, free: 6.062 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.002441/0.002441, allocations: 195.2 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.329/2.329, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.245/4.245, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003203/0.003203, allocations: 76.09 kB / 1.018 GB, free: 9.844 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55/1.553, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.003822/1.557, allocations: 0.7159 MB / 1.167 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00217/1.559, allocations: 0.8273 MB / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.364e-05/1.559, allocations: 0 / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.848e-05/1.559, allocations: 3.938 kB / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001127/1.559, allocations: 11.94 kB / 1.168 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002342/1.56, allocations: 7.984 kB / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001851/1.56, allocations: 59.78 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/1.56, allocations: 11.94 kB / 1.168 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/1.56, allocations: 15.97 kB / 1.168 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.817e-05/1.56, allocations: 27.84 kB / 1.168 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/1.56, allocations: 4 kB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.015e-05/1.56, allocations: 4 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.788e-05/1.56, allocations: 4 kB / 1.168 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.773e-05/1.56, allocations: 23.92 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001708/1.561, allocations: 39.81 kB / 1.168 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/1.561, allocations: 0 / 1.168 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.484e-06/1.561, allocations: 0 / 1.168 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.845e-06/1.561, allocations: 0 / 1.168 GB, free: 1.996 MB / 0.8887 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.0009182/1.562, allocations: 363 kB / 1.168 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.226e-05/1.562, allocations: 8.625 kB / 1.168 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.026e-05/1.562, allocations: 42.73 kB / 1.168 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.46e-05/1.562, allocations: 8.891 kB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/1.562, allocations: 172.3 kB / 1.168 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/1.562, allocations: 384 / 1.168 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/1.562, allocations: 4.375 kB / 1.168 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004422/1.563, allocations: 66.22 kB / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/1.563, allocations: 3.938 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/1.563, allocations: 0 / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/1.563, allocations: 3.984 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005499/1.563, allocations: 63.94 kB / 1.169 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007073/1.564, allocations: 279.2 kB / 1.169 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003801/1.564, allocations: 58.52 kB / 1.169 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/1.565, allocations: 40.92 kB / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/1.565, allocations: 0 / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.439e-05/1.565, allocations: 34.55 kB / 1.169 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/1.565, allocations: 0 / 1.169 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.001034/1.566, allocations: 129.5 kB / 1.169 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/1.566, allocations: 55.41 kB / 1.169 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/1.566, allocations: 105.8 kB / 1.169 GB, free: 400 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/1.566, allocations: 29.7 kB / 1.169 GB, free: 364 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 9.943e-05/1.566, allocations: 92.06 kB / 1.169 GB, free: 268 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/1.566, allocations: 11.91 kB / 1.169 GB, free: 256 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.51e-05/1.566, allocations: 13.72 kB / 1.169 GB, free: 236 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002698/1.567, allocations: 322.8 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/1.567, allocations: 31.95 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/1.567, allocations: 27.97 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005446/1.568, allocations: 72.72 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.568, allocations: 0 / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006659/1.569, allocations: 101.6 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/1.569, allocations: 11.94 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/1.569, allocations: 4 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/1.569, allocations: 0 / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/1.569, allocations: 23.97 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.944e-06/1.569, allocations: 0 / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/1.569, allocations: 7.984 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/1.569, allocations: 4 kB / 1.17 GB, free: 15.62 MB / 0.9044 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.0001526/1.569, allocations: 113.8 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.454e-05/1.569, allocations: 7.953 kB / 1.17 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007134/1.57, allocations: 105.5 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/1.57, allocations: 4 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.57, allocations: 0 / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/1.57, allocations: 3.984 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003745/1.571, allocations: 169.6 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.571, allocations: 0 / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/1.571, allocations: 11.98 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/1.571, allocations: 4 kB / 1.17 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/1.571, allocations: 4 kB / 1.17 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/1.571, allocations: 0 / 1.17 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.571, allocations: 0 / 1.17 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007288/1.572, allocations: 199.7 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.682e-05/1.572, allocations: 81.16 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/1.572, allocations: 7.984 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/1.572, allocations: 7.984 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.754e-05/1.572, allocations: 15.92 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/1.572, allocations: 0 / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001073/1.572, allocations: 91.27 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.81e-07/1.572, allocations: 0 / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004516/1.573, allocations: 4 kB / 1.171 GB, free: 14.7 MB / 0.9044 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.001341/1.574, allocations: 0.728 MB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006559/1.575, allocations: 83.78 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.575, allocations: 0 / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003022/1.575, allocations: 31.97 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/1.576, allocations: 4 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008641/1.576, allocations: 156.7 kB / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005386/1.577, allocations: 0.6846 MB / 1.172 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.385e-05/1.577, allocations: 3.938 kB / 1.172 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.233e-05/1.577, allocations: 19.42 kB / 1.172 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of SimCode: time 4.21e-07/1.577, allocations: 0 / 1.172 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04681/1.624, allocations: 1.635 MB / 1.174 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/14.18, allocations: 8.906 kB / 1.174 GB, free: 11.35 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches