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.00756/0.00756, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001776/0.001777, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.455/1.455, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.564/2.564, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 63.91 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2699, allocations: 151.6 MB / 1.166 GB, free: 7.246 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001845/0.2717, allocations: 0.7061 MB / 1.167 GB, free: 6.539 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009889/0.2728, allocations: 0.8393 MB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.007e-05/0.2728, allocations: 0 / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.892e-05/0.2729, allocations: 3.938 kB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.86e-05/0.273, allocations: 3.938 kB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.2731, allocations: 15.98 kB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.47e-05/0.2732, allocations: 47.89 kB / 1.168 GB, free: 5.617 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.498e-05/0.2733, allocations: 15.94 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.042e-05/0.2734, allocations: 19.92 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.833e-05/0.2734, allocations: 23.91 kB / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.2734, allocations: 0 / 1.168 GB, free: 5.559 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-06/0.2735, allocations: 4 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.083e-05/0.2735, allocations: 11.94 kB / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.534e-05/0.2735, allocations: 19.92 kB / 1.168 GB, free: 5.523 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.2736, allocations: 44.08 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2736, allocations: 0 / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2737, allocations: 0 / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.2737, allocations: 0 / 1.168 GB, free: 5.48 MB / 0.92 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.0005152/0.2742, allocations: 363.3 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2742, allocations: 8.031 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.066e-05/0.2743, allocations: 34.73 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/0.2743, allocations: 20.83 kB / 1.168 GB, free: 5.004 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.2745, allocations: 168.3 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.2745, allocations: 384 / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.2745, allocations: 4.312 kB / 1.169 GB, free: 4.797 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.2748, allocations: 74.22 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.2748, allocations: 3.938 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.016e-06/0.2748, allocations: 0 / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.2748, allocations: 0 / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002979/0.2751, allocations: 63.92 kB / 1.169 GB, free: 4.652 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003401/0.2754, allocations: 276.8 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.2757, allocations: 58.47 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.2758, allocations: 32.92 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.2759, allocations: 8 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.2759, allocations: 34.56 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.2759, allocations: 0 / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005647/0.2765, allocations: 129.8 kB / 1.169 GB, free: 4.047 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.2765, allocations: 55.34 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.2766, allocations: 113.8 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.2766, allocations: 25.7 kB / 1.169 GB, free: 3.828 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.901e-05/0.2767, allocations: 84.14 kB / 1.169 GB, free: 3.742 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.2767, allocations: 15.89 kB / 1.169 GB, free: 3.727 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.2767, allocations: 13.72 kB / 1.169 GB, free: 3.707 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.2769, allocations: 314.8 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.277, allocations: 35.95 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.2772, allocations: 27.97 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002798/0.2774, allocations: 72.72 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2775, allocations: 0 / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003338/0.2778, allocations: 101.6 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.2778, allocations: 4 kB / 1.17 GB, free: 3.145 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2778, allocations: 4 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.2778, allocations: 0 / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.278, allocations: 15.97 kB / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.278, allocations: 0 / 1.17 GB, free: 3.125 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.453e-05/0.2781, allocations: 15.98 kB / 1.17 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.2781, allocations: 4 kB / 1.17 GB, free: 3.105 MB / 0.92 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.504e-05/0.2782, allocations: 113.8 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.2782, allocations: 7.891 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003685/0.2786, allocations: 105.5 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2786, allocations: 0 / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2786, allocations: 4 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2786, allocations: 7.938 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.2788, allocations: 173.6 kB / 1.17 GB, free: 2.629 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.2788, allocations: 4 kB / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.842e-05/0.2789, allocations: 11.98 kB / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2789, allocations: 0 / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.2789, allocations: 4 kB / 1.17 GB, free: 2.609 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.2789, allocations: 4 kB / 1.17 GB, free: 2.605 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2789, allocations: 0 / 1.17 GB, free: 2.605 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003783/0.2793, allocations: 203.4 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.2794, allocations: 81.05 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.2794, allocations: 0 / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.2795, allocations: 15.92 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.2795, allocations: 7.984 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.2796, allocations: 4 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.734e-05/0.2796, allocations: 83.28 kB / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.423e-06/0.2796, allocations: 0 / 1.171 GB, free: 2.184 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002231/0.2798, allocations: 11.94 kB / 1.171 GB, free: 2.172 MB / 0.92 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.000667/0.2805, allocations: 0.7319 MB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003367/0.2809, allocations: 68.2 kB / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2809, allocations: 0 / 1.172 GB, free: 1.348 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.281, allocations: 51.97 kB / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.2813, allocations: 5.719 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004283/0.2818, allocations: 155.6 kB / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.282, allocations: 0.6807 MB / 1.172 GB, free: 404 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.908e-05/0.2821, allocations: 0 / 1.172 GB, free: 404 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.595e-05/0.2821, allocations: 23.42 kB / 1.172 GB, free: 380 kB / 0.92 GB Notification: Performance of SimCode: time 2.21e-07/0.2821, allocations: 0 / 1.172 GB, free: 380 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0157/0.2978, allocations: 1.612 MB / 1.174 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.293/7.591, allocations: 9.422 kB / 1.174 GB, free: 14.84 MB / 0.9356 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