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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.005134/0.005134, allocations: 97.58 kB / 15.73 MB, free: 5.988 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.00142/0.00142, allocations: 192.3 kB / 16.67 MB, free: 5.918 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.692/2.692, allocations: 482.6 MB / 0.755 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001732/0.001732, allocations: 75.89 kB / 1.083 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3031, allocations: 162.3 MB / 1.242 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001561/0.3047, allocations: 0.7128 MB / 1.243 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008187/0.3055, allocations: 0.8234 MB / 1.243 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.674e-05/0.3056, allocations: 4 kB / 1.243 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.451e-05/0.3056, allocations: 3.938 kB / 1.243 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.043e-05/0.3057, allocations: 7.922 kB / 1.243 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001156/0.3058, allocations: 15.98 kB / 1.243 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.349e-05/0.3059, allocations: 43.8 kB / 1.243 GB, free: 8.148 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.86e-05/0.306, allocations: 15.97 kB / 1.244 GB, free: 8.133 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.288e-05/0.306, allocations: 23.98 kB / 1.244 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.305e-05/0.3061, allocations: 19.86 kB / 1.244 GB, free: 8.09 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.3061, allocations: 4 kB / 1.244 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.02e-05/0.3061, allocations: 4 kB / 1.244 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.3061, allocations: 7.984 kB / 1.244 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.3062, allocations: 15.94 kB / 1.244 GB, free: 8.059 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.253e-05/0.3062, allocations: 43.8 kB / 1.244 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.3063, allocations: 0 / 1.244 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3063, allocations: 0 / 1.244 GB, free: 8.016 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.3063, allocations: 0 / 1.244 GB, free: 8.016 MB / 0.9981 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.0004715/0.3067, allocations: 371.2 kB / 1.244 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.3068, allocations: 12.03 kB / 1.244 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.228e-05/0.3068, allocations: 30.75 kB / 1.244 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.748e-05/0.3068, allocations: 0.9375 kB / 1.244 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.307, allocations: 176.3 kB / 1.244 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.307, allocations: 4.312 kB / 1.244 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.307, allocations: 8.359 kB / 1.244 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.3072, allocations: 70.22 kB / 1.244 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3072, allocations: 3.938 kB / 1.244 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.3073, allocations: 0 / 1.244 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.3073, allocations: 0 / 1.244 GB, free: 7.25 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002707/0.3075, allocations: 63.92 kB / 1.244 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003092/0.3079, allocations: 272.9 kB / 1.245 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.308, allocations: 50.48 kB / 1.245 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.3082, allocations: 40.91 kB / 1.245 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.3082, allocations: 0 / 1.245 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.3082, allocations: 38.56 kB / 1.245 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 7.42e-07/0.3083, allocations: 0 / 1.245 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0004933/0.3088, allocations: 137.5 kB / 1.245 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.3088, allocations: 51.41 kB / 1.245 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.762e-05/0.3089, allocations: 105.8 kB / 1.245 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.3089, allocations: 29.7 kB / 1.245 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.3089, allocations: 92.08 kB / 1.245 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.569e-05/0.309, allocations: 7.906 kB / 1.245 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.309, allocations: 17.72 kB / 1.245 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3091, allocations: 318.8 kB / 1.245 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.3093, allocations: 31.97 kB / 1.245 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.3094, allocations: 36.14 kB / 1.245 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.3097, allocations: 72.81 kB / 1.246 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.3097, allocations: 4 kB / 1.246 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003003/0.31, allocations: 105.5 kB / 1.246 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.31, allocations: 4 kB / 1.246 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-06/0.31, allocations: 0 / 1.246 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.31, allocations: 0 / 1.246 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.3102, allocations: 15.98 kB / 1.246 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.3102, allocations: 0 / 1.246 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.314e-05/0.3102, allocations: 15.98 kB / 1.246 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.443e-06/0.3103, allocations: 0 / 1.246 GB, free: 5.637 MB / 0.9981 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.487e-05/0.3103, allocations: 117.8 kB / 1.246 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.3104, allocations: 7.953 kB / 1.246 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003356/0.3107, allocations: 105.5 kB / 1.246 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3107, allocations: 3.938 kB / 1.246 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.3107, allocations: 0 / 1.246 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.3107, allocations: 0 / 1.246 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.3109, allocations: 173.6 kB / 1.246 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3109, allocations: 0 / 1.246 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.871e-05/0.311, allocations: 23.91 kB / 1.246 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.311, allocations: 0 / 1.246 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.311, allocations: 0 / 1.246 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.311, allocations: 0 / 1.246 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.311, allocations: 0 / 1.246 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.3114, allocations: 195.4 kB / 1.246 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-05/0.3114, allocations: 89.05 kB / 1.246 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.105e-05/0.3114, allocations: 0 / 1.246 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.956e-05/0.3115, allocations: 11.98 kB / 1.246 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/0.3116, allocations: 0 / 1.246 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-06/0.3116, allocations: 0 / 1.246 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.84e-05/0.3116, allocations: 99.2 kB / 1.246 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3116, allocations: 0 / 1.246 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000197/0.3118, allocations: 8 kB / 1.247 GB, free: 4.715 MB / 0.9981 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.0006408/0.3125, allocations: 0.7285 MB / 1.247 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002979/0.3128, allocations: 67.86 kB / 1.247 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.3128, allocations: 0 / 1.247 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.313, allocations: 43.91 kB / 1.247 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.3132, allocations: 7.984 kB / 1.247 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.3136, allocations: 171.9 kB / 1.247 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.3139, allocations: 0.6807 MB / 1.248 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.546e-05/0.3139, allocations: 4 kB / 1.248 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.553e-05/0.3139, allocations: 11.44 kB / 1.248 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.3139, allocations: 0 / 1.248 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 10.49/10.8, allocations: 1.638 MB / 1.25 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.879/20.68, allocations: 7.984 kB / 1.25 GB, free: 1.359 MB / 0.9981 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=400 --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