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.00611/0.00611, allocations: 100.8 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.001166/0.001166, allocations: 193.5 kB / 16.67 MB, free: 5.977 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.603/2.603, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 59.91 kB / 1.054 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9068/0.9082, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.00214/0.9104, allocations: 0.7046 MB / 1.208 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.9115, allocations: 0.8312 MB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.841e-05/0.9115, allocations: 0 / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.301e-05/0.9116, allocations: 3.938 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.39e-05/0.9117, allocations: 15.92 kB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.9119, allocations: 15.97 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.277e-05/0.912, allocations: 47.8 kB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.9121, allocations: 11.98 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.376e-05/0.9122, allocations: 8 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.508e-05/0.9122, allocations: 27.91 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.9123, allocations: 4 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.085e-05/0.9123, allocations: 4 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.9123, allocations: 11.94 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.75e-05/0.9123, allocations: 19.91 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.768e-05/0.9124, allocations: 39.81 kB / 1.209 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.9125, allocations: 4 kB / 1.209 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.943e-06/0.9125, allocations: 0 / 1.209 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.9125, allocations: 0 / 1.209 GB, free: 11.81 MB / 0.9356 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.0005484/0.913, allocations: 361.6 kB / 1.209 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.9131, allocations: 8.031 kB / 1.209 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.902e-05/0.9131, allocations: 46.73 kB / 1.209 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.795e-05/0.9132, allocations: 4.844 kB / 1.209 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.9133, allocations: 172.2 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.9133, allocations: 4.375 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.9133, allocations: 384 / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.9136, allocations: 70.22 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.9136, allocations: 3.938 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.9136, allocations: 3.984 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.9136, allocations: 4 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002587/0.9139, allocations: 59.94 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/0.9142, allocations: 260.9 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.9144, allocations: 66.47 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.9146, allocations: 36.92 kB / 1.21 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.9146, allocations: 0 / 1.21 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.9146, allocations: 38.55 kB / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.001e-06/0.9147, allocations: 0 / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0004877/0.9151, allocations: 129.5 kB / 1.21 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.9152, allocations: 51.41 kB / 1.21 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.37e-05/0.9153, allocations: 113.8 kB / 1.21 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.9153, allocations: 25.7 kB / 1.21 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/0.9153, allocations: 95.97 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.9154, allocations: 11.84 kB / 1.211 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.274e-05/0.9154, allocations: 17.72 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.604e-05/0.9155, allocations: 314.8 kB / 1.211 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.9157, allocations: 31.95 kB / 1.211 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.9158, allocations: 31.97 kB / 1.211 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.9161, allocations: 73 kB / 1.211 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.9161, allocations: 0 / 1.211 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002887/0.9164, allocations: 105.5 kB / 1.211 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.9164, allocations: 8 kB / 1.211 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.9164, allocations: 0 / 1.211 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.9164, allocations: 4 kB / 1.211 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.9165, allocations: 15.97 kB / 1.211 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.9166, allocations: 4 kB / 1.211 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.928e-05/0.9166, allocations: 7.984 kB / 1.211 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.557e-06/0.9166, allocations: 4 kB / 1.211 GB, free: 9.434 MB / 0.9356 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.057e-05/0.9167, allocations: 113.8 kB / 1.211 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.9167, allocations: 7.906 kB / 1.211 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003242/0.9171, allocations: 109.5 kB / 1.211 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.634e-06/0.9171, allocations: 0 / 1.211 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.9171, allocations: 4 kB / 1.211 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.9171, allocations: 3.984 kB / 1.211 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.9173, allocations: 169.6 kB / 1.212 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.9173, allocations: 0 / 1.212 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.806e-05/0.9174, allocations: 11.98 kB / 1.212 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.9174, allocations: 8 kB / 1.212 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.537e-06/0.9174, allocations: 4 kB / 1.212 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.9174, allocations: 0 / 1.212 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.9174, allocations: 3.984 kB / 1.212 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.9177, allocations: 199.3 kB / 1.212 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.9178, allocations: 77.11 kB / 1.212 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.9178, allocations: 4 kB / 1.212 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.678e-05/0.9179, allocations: 7.984 kB / 1.212 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.9179, allocations: 7.984 kB / 1.212 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.918, allocations: 3.938 kB / 1.212 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.389e-05/0.918, allocations: 95.56 kB / 1.212 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.918, allocations: 0 / 1.212 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002221/0.9182, allocations: 4 kB / 1.212 GB, free: 8.504 MB / 0.9356 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.0005846/0.9188, allocations: 0.7241 MB / 1.213 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000299/0.9191, allocations: 79.84 kB / 1.213 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9191, allocations: 3.938 kB / 1.213 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.9193, allocations: 31.97 kB / 1.213 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.9196, allocations: 8 kB / 1.213 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004767/0.9201, allocations: 178.3 kB / 1.213 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.9204, allocations: 0.6807 MB / 1.214 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.917e-05/0.9204, allocations: 3.984 kB / 1.214 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.9204, allocations: 15.44 kB / 1.214 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.9205, allocations: 0 / 1.214 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.9374, allocations: 1.63 MB / 1.215 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.503/8.441, allocations: 12.05 kB / 1.215 GB, free: 5.148 MB / 0.9356 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