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.001009/0.001012, 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.0009825/0.0009824, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.221/1.221, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.291/2.291, allocations: 437 MB / 0.7101 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.91 kB / 0.8689 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5035/0.5047, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001981/0.5067, allocations: 0.7647 MB / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009232/0.5076, allocations: 0.8351 MB / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.42e-05/0.5077, allocations: 0 / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.271e-05/0.5078, allocations: 0 / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.809e-05/0.5078, allocations: 15.86 kB / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001377/0.508, allocations: 7.984 kB / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.036e-05/0.5081, allocations: 51.8 kB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.5082, allocations: 7.984 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.857e-05/0.5082, allocations: 23.94 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.145e-05/0.5083, allocations: 19.91 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.5083, allocations: 4 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.116e-05/0.5083, allocations: 4 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.726e-05/0.5084, allocations: 4 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.5084, allocations: 27.84 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.638e-05/0.5085, allocations: 39.88 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5085, allocations: 0 / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5085, allocations: 0 / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.5085, allocations: 0 / 1.019 GB, free: 0.8906 MB / 0.7637 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.0004891/0.509, allocations: 365.5 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.5091, allocations: 12.02 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.541e-05/0.5091, allocations: 38.75 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.272e-05/0.5091, allocations: 0.9375 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.5092, allocations: 172.2 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.775e-06/0.5093, allocations: 384 / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.5093, allocations: 4.375 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.5095, allocations: 74.2 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.5095, allocations: 3.938 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.5096, allocations: 3.984 kB / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.5096, allocations: 0 / 1.019 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002576/0.5098, allocations: 59.94 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003405/0.5102, allocations: 276.8 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.5104, allocations: 50.53 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.5105, allocations: 44.92 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.5105, allocations: 3.984 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.5106, allocations: 34.56 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.5106, allocations: 0 / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000505/0.5111, allocations: 129.4 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.5111, allocations: 55.41 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.303e-05/0.5112, allocations: 113.8 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.5112, allocations: 25.7 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.995e-05/0.5113, allocations: 96.11 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.5113, allocations: 7.844 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.5113, allocations: 17.72 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.5114, allocations: 310.8 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.5116, allocations: 35.95 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.5117, allocations: 35.91 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002467/0.512, allocations: 72.66 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.512, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002988/0.5123, allocations: 105.5 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.5123, allocations: 8 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.5123, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.5123, allocations: 3.984 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.5125, allocations: 19.98 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.5125, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.172e-05/0.5126, allocations: 7.984 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.977e-06/0.5126, allocations: 8 kB / 1.021 GB, free: 14.5 MB / 0.7794 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 6.865e-05/0.5127, allocations: 110.3 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/0.5127, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003414/0.513, allocations: 105.5 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.5131, allocations: 7.984 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.5131, allocations: 4 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.5131, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001606/0.5132, allocations: 173.5 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5132, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.08e-05/0.5133, allocations: 12.36 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5134, allocations: 4 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.5134, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5134, allocations: 3.984 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5134, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003331/0.5137, allocations: 199.4 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-05/0.5138, allocations: 81.11 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.5138, allocations: 0 / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.5139, allocations: 11.97 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.5139, allocations: 11.94 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.5139, allocations: 4 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.965e-05/0.514, allocations: 87.27 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.514, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000218/0.5142, allocations: 11.91 kB / 1.022 GB, free: 13.59 MB / 0.7794 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.0006439/0.5149, allocations: 0.728 MB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002984/0.5152, allocations: 71.86 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.5152, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.5153, allocations: 39.91 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.5156, allocations: 8 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004166/0.516, allocations: 179.7 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.5163, allocations: 0.6807 MB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.99e-05/0.5163, allocations: 7.984 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.5164, allocations: 15.44 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.5164, allocations: 0 / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01037/0.5268, allocations: 1.415 MB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/0.527, allocations: 197.6 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.504/2.031, allocations: 0 / 1.025 GB, free: 10.21 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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