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.008718/0.008718, allocations: 100.4 kB / 15.73 MB, free: 6.047 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.001829/0.001829, allocations: 187.6 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.828/2.828, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 75.88 kB / 1.054 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.313, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002351/0.3154, allocations: 0.6996 MB / 1.208 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.3166, allocations: 0.8273 MB / 1.209 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.788e-05/0.3167, allocations: 0 / 1.209 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.531e-05/0.3167, allocations: 3.938 kB / 1.209 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.255e-05/0.3168, allocations: 7.922 kB / 1.209 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.317, allocations: 19.92 kB / 1.209 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.07e-05/0.3171, allocations: 47.84 kB / 1.209 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.3172, allocations: 11.98 kB / 1.209 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.495e-05/0.3173, allocations: 15.98 kB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.362e-05/0.3174, allocations: 23.86 kB / 1.209 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.3174, allocations: 0 / 1.209 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-06/0.3174, allocations: 4 kB / 1.209 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.147e-05/0.3174, allocations: 11.98 kB / 1.209 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.319e-05/0.3175, allocations: 15.94 kB / 1.209 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.87e-05/0.3176, allocations: 51.8 kB / 1.209 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3176, allocations: 0 / 1.209 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3176, allocations: 3.938 kB / 1.209 GB, free: 8.379 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.3176, allocations: 0 / 1.209 GB, free: 8.379 MB / 0.9669 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.0005642/0.3182, allocations: 363.6 kB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.3182, allocations: 8.625 kB / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.829e-05/0.3183, allocations: 34.75 kB / 1.209 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.957e-05/0.3183, allocations: 4.938 kB / 1.209 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.3185, allocations: 180.2 kB / 1.21 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.3185, allocations: 384 / 1.21 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.3185, allocations: 384 / 1.21 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.3188, allocations: 74.2 kB / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.3188, allocations: 3.938 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3188, allocations: 0 / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.3188, allocations: 0 / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.3191, allocations: 71.86 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003869/0.3195, allocations: 264.9 kB / 1.21 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.3197, allocations: 50.55 kB / 1.21 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.3199, allocations: 44.91 kB / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.3199, allocations: 4 kB / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.32, allocations: 30.56 kB / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 4.118e-06/0.32, allocations: 7.922 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005569/0.3205, allocations: 129.6 kB / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.3206, allocations: 51.41 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.841e-05/0.3207, allocations: 113.8 kB / 1.21 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.3207, allocations: 25.7 kB / 1.21 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.035e-05/0.3208, allocations: 84.14 kB / 1.211 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.3208, allocations: 7.906 kB / 1.211 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.3208, allocations: 17.66 kB / 1.211 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.3209, allocations: 322.8 kB / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.3211, allocations: 27.97 kB / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.3212, allocations: 31.95 kB / 1.211 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.3215, allocations: 76.67 kB / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3215, allocations: 0 / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003264/0.3219, allocations: 101.5 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3219, allocations: 5.719 kB / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3219, allocations: 4 kB / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3219, allocations: 0 / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.3221, allocations: 19.98 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.3221, allocations: 320 / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.077e-05/0.3222, allocations: 15.98 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.3222, allocations: 0 / 1.211 GB, free: 6.012 MB / 0.9669 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 8.589e-05/0.3223, allocations: 117.8 kB / 1.211 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.3223, allocations: 0 / 1.211 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/0.3227, allocations: 113.5 kB / 1.211 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3227, allocations: 0 / 1.211 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3227, allocations: 0 / 1.211 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.3227, allocations: 4 kB / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.3229, allocations: 173.5 kB / 1.212 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3229, allocations: 4 kB / 1.212 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.323, allocations: 19.91 kB / 1.212 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.323, allocations: 0 / 1.212 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.3231, allocations: 0 / 1.212 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3231, allocations: 8 kB / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3231, allocations: 0 / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003913/0.3235, allocations: 199.3 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.3235, allocations: 81.09 kB / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.3235, allocations: 0 / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.3237, allocations: 15.98 kB / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.3237, allocations: 4.422 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-06/0.3237, allocations: 0 / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.951e-05/0.3238, allocations: 91.25 kB / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3238, allocations: 0 / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002227/0.324, allocations: 8 kB / 1.212 GB, free: 5.082 MB / 0.9669 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.0007309/0.3247, allocations: 0.7434 MB / 1.213 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003564/0.3251, allocations: 75.92 kB / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3251, allocations: 0 / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.3253, allocations: 31.97 kB / 1.213 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.3257, allocations: 7.984 kB / 1.213 GB, free: 4.199 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005331/0.3262, allocations: 171.5 kB / 1.213 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.3265, allocations: 0.6846 MB / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.26e-05/0.3265, allocations: 4 kB / 1.214 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.718e-05/0.3266, allocations: 15.44 kB / 1.214 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.3266, allocations: 0 / 1.214 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01822/0.3448, allocations: 1.647 MB / 1.215 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.32/7.665, allocations: 11.22 kB / 1.215 GB, free: 1.699 MB / 0.9669 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