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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001286/0.001286, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001556/0.001556, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.257/1.257, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.498/2.498, allocations: 461.9 MB / 0.7344 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 67.92 kB / 0.8987 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2595, allocations: 157.4 MB / 1.052 GB, free: 8.656 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001515/0.261, allocations: 0.7805 MB / 1.053 GB, free: 7.875 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0006723/0.2617, allocations: 0.8313 MB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.824e-05/0.2617, allocations: 0 / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.2618, allocations: 3.984 kB / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.169e-05/0.2618, allocations: 3.938 kB / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.794e-05/0.2619, allocations: 15.98 kB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.662e-05/0.2619, allocations: 39.86 kB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.992e-05/0.262, allocations: 16 kB / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.351e-05/0.262, allocations: 19.86 kB / 1.054 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.086e-05/0.2621, allocations: 27.89 kB / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.276e-06/0.2621, allocations: 4 kB / 1.054 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-06/0.2621, allocations: 4 kB / 1.054 GB, free: 6.898 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.013e-05/0.2621, allocations: 8 kB / 1.054 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.98e-05/0.2621, allocations: 19.86 kB / 1.054 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.536e-05/0.2622, allocations: 31.88 kB / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.2622, allocations: 4 kB / 1.054 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.71e-07/0.2622, allocations: 4 kB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.425e-06/0.2622, allocations: 0 / 1.054 GB, free: 6.832 MB / 0.8106 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.0003391/0.2625, allocations: 359.7 kB / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.604e-05/0.2626, allocations: 8.625 kB / 1.055 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.934e-05/0.2626, allocations: 30.75 kB / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.714e-05/0.2626, allocations: 8.844 kB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.464e-05/0.2627, allocations: 172.3 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.792e-06/0.2627, allocations: 12.38 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-06/0.2627, allocations: 384 / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.2629, allocations: 70.16 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.2629, allocations: 3.938 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-06/0.2629, allocations: 4 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-06/0.2629, allocations: 4 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.2632, allocations: 67.92 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002141/0.2634, allocations: 264.8 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.2636, allocations: 62.47 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.2637, allocations: 36.92 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.387e-05/0.2637, allocations: 4 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.2638, allocations: 30.56 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.2638, allocations: 0 / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004433/0.2642, allocations: 133.6 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/0.2642, allocations: 51.41 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.46e-05/0.2643, allocations: 109.8 kB / 1.056 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.2643, allocations: 25.7 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.905e-05/0.2644, allocations: 88.08 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.2644, allocations: 15.73 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.2644, allocations: 21.66 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.674e-05/0.2645, allocations: 318.8 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.2646, allocations: 31.95 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.2648, allocations: 27.97 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/0.265, allocations: 76.72 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.265, allocations: 0 / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002858/0.2653, allocations: 93.91 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.606e-06/0.2653, allocations: 4 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-06/0.2653, allocations: 0 / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.2653, allocations: 4.047 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.2654, allocations: 23.89 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.2655, allocations: 4 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.052e-05/0.2655, allocations: 11.98 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.2655, allocations: 0 / 1.056 GB, free: 4.461 MB / 0.8106 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 5.525e-05/0.2656, allocations: 117.8 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.2656, allocations: 3.906 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003018/0.2659, allocations: 109.5 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2659, allocations: 0 / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.2659, allocations: 0 / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-06/0.266, allocations: 0 / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.2661, allocations: 177.5 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2661, allocations: 0 / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.681e-05/0.2662, allocations: 15.98 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.2662, allocations: 0 / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.2662, allocations: 3.938 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2662, allocations: 4 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.2662, allocations: 0 / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003033/0.2665, allocations: 195.4 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/0.2666, allocations: 85.02 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.2666, allocations: 0 / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.2667, allocations: 19.98 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.2667, allocations: 3.984 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.2667, allocations: 4 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.345e-05/0.2668, allocations: 83.28 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.332e-06/0.2668, allocations: 0 / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001993/0.267, allocations: 11.94 kB / 1.057 GB, free: 3.539 MB / 0.8106 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.0005374/0.2675, allocations: 0.7319 MB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002692/0.2678, allocations: 75.92 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.2678, allocations: 3.938 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.2679, allocations: 39.89 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.2682, allocations: 11.94 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000313/0.2685, allocations: 175.6 kB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.2687, allocations: 0.6807 MB / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.48e-05/0.2687, allocations: 0 / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.2687, allocations: 15.42 kB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.2687, allocations: 0 / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.316/3.585, allocations: 1.421 MB / 1.06 GB, free: 428 kB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/3.585, allocations: 200.9 kB / 1.06 GB, free: 168 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.515/5.1, allocations: 7.938 kB / 1.06 GB, free: 160 kB / 0.8106 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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