Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="Buildings_latest_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.007731/0.007731, allocations: 103 kB / 15.74 MB, free: 6.039 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.001816/0.001816, allocations: 194.6 kB / 16.67 MB, free: 5.965 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.781/2.781, allocations: 469.4 MB / 0.7422 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002454/0.002454, allocations: 71.89 kB / 1.064 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2821, allocations: 159.1 MB / 1.22 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001812/0.284, allocations: 0.7062 MB / 1.22 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009559/0.285, allocations: 0.8252 MB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.763e-05/0.285, allocations: 0 / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/0.2851, allocations: 3.938 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.155e-05/0.2852, allocations: 7.938 kB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001567/0.2853, allocations: 23.89 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.372e-05/0.2854, allocations: 47.86 kB / 1.221 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.2855, allocations: 11.98 kB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.822e-05/0.2856, allocations: 12 kB / 1.221 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.864e-05/0.2856, allocations: 23.84 kB / 1.221 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.2857, allocations: 4 kB / 1.221 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.414e-05/0.2857, allocations: 4 kB / 1.221 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.142e-05/0.2857, allocations: 8 kB / 1.221 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.2858, allocations: 19.86 kB / 1.221 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.896e-05/0.2859, allocations: 47.73 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2859, allocations: 8 kB / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2859, allocations: 0 / 1.222 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.2859, allocations: 0 / 1.222 GB, free: 12.77 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.0005163/0.2864, allocations: 363.3 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2865, allocations: 8.031 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.806e-05/0.2865, allocations: 38.73 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.943e-05/0.2865, allocations: 8.891 kB / 1.222 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.2867, allocations: 160.4 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.2867, allocations: 8.375 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.2867, allocations: 384 / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.2869, allocations: 66.22 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.287, allocations: 15.86 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.619e-06/0.287, allocations: 0 / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.287, allocations: 0 / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002915/0.2873, allocations: 63.94 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.2876, allocations: 272.9 kB / 1.222 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001993/0.2878, allocations: 54.53 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.288, allocations: 40.92 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.288, allocations: 3.938 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.2881, allocations: 38.55 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2881, allocations: 0 / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005327/0.2886, allocations: 125.6 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.2887, allocations: 51.41 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.561e-05/0.2887, allocations: 109.8 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.2888, allocations: 25.7 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/0.2888, allocations: 92.06 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.2888, allocations: 7.906 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.2889, allocations: 17.72 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.426e-05/0.289, allocations: 310.8 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.2891, allocations: 47.83 kB / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.2893, allocations: 27.97 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/0.2896, allocations: 72.72 kB / 1.223 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2896, allocations: 4 kB / 1.223 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003291/0.2899, allocations: 93.95 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2899, allocations: 4 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2899, allocations: 0 / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.29, allocations: 4 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.2901, allocations: 15.97 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.2901, allocations: 4 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.782e-05/0.2902, allocations: 19.94 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.2902, allocations: 7.922 kB / 1.224 GB, free: 10.39 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 7.833e-05/0.2903, allocations: 118.2 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.2903, allocations: 0 / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000368/0.2907, allocations: 109.5 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.2907, allocations: 0 / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.2907, allocations: 3.984 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2907, allocations: 0 / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.2909, allocations: 173.6 kB / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2909, allocations: 0 / 1.224 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.95e-05/0.291, allocations: 15.98 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.291, allocations: 0 / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.291, allocations: 0 / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.291, allocations: 0 / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.291, allocations: 11.92 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/0.2914, allocations: 199.4 kB / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.2915, allocations: 77.11 kB / 1.224 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.2915, allocations: 0 / 1.224 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.2916, allocations: 15.98 kB / 1.224 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.2916, allocations: 3.984 kB / 1.224 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.2917, allocations: 12 kB / 1.224 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.94e-05/0.2917, allocations: 83.27 kB / 1.224 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2917, allocations: 0 / 1.224 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002295/0.2919, allocations: 8 kB / 1.224 GB, free: 9.469 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.0006364/0.2926, allocations: 0.7318 MB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000333/0.2929, allocations: 75.91 kB / 1.225 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2929, allocations: 7.938 kB / 1.225 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.2931, allocations: 31.97 kB / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.2934, allocations: 5.719 kB / 1.225 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/0.2938, allocations: 171.4 kB / 1.225 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.2941, allocations: 0.6768 MB / 1.226 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.102e-05/0.2941, allocations: 11.98 kB / 1.226 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.2941, allocations: 11.44 kB / 1.226 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.2941, allocations: 0 / 1.226 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01647/0.3106, allocations: 1.634 MB / 1.228 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.205/7.516, allocations: 7.875 kB / 1.228 GB, free: 6.113 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches