Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,fileNamePrefix="Buildings_11_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.001214/0.001214, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 192.5 kB / 16.53 MB, free: 6.664 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.607/2.607, allocations: 469.8 MB / 0.7424 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 68.05 kB / 0.9087 GB, free: 34.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2635, allocations: 159.2 MB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001846/0.2653, allocations: 0.7004 MB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008534/0.2662, allocations: 0.8273 MB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.121e-05/0.2662, allocations: 0 / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.2663, allocations: 3.938 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.726e-05/0.2663, allocations: 7.875 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001217/0.2665, allocations: 23.91 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.34e-05/0.2666, allocations: 47.86 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.428e-05/0.2666, allocations: 8 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.243e-05/0.2667, allocations: 15.92 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.624e-05/0.2668, allocations: 31.89 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.2668, allocations: 4 kB / 1.066 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.09e-05/0.2668, allocations: 4 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.2668, allocations: 4 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.133e-05/0.2669, allocations: 19.86 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.257e-05/0.2669, allocations: 39.88 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2669, allocations: 0 / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2669, allocations: 0 / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.267, allocations: 0 / 1.066 GB, free: 12.41 MB / 0.8262 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.0004973/0.2675, allocations: 370 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.2675, allocations: 8.031 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.25e-05/0.2675, allocations: 30.75 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.323e-05/0.2676, allocations: 8.844 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.2677, allocations: 180.3 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.2677, allocations: 8.375 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.2677, allocations: 384 / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002449/0.268, allocations: 70.22 kB / 1.066 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.268, allocations: 3.938 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.268, allocations: 0 / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.268, allocations: 0 / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002834/0.2683, allocations: 71.86 kB / 1.067 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003184/0.2686, allocations: 268.8 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.2688, allocations: 58.53 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.269, allocations: 40.92 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.269, allocations: 0 / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.269, allocations: 30.56 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.2691, allocations: 0 / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0005166/0.2696, allocations: 137.5 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.2696, allocations: 51.41 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.07e-05/0.2697, allocations: 109.8 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.2697, allocations: 25.7 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.773e-05/0.2698, allocations: 84.14 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.2698, allocations: 15.8 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.2698, allocations: 9.719 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.27, allocations: 326.8 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.2701, allocations: 31.95 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.2703, allocations: 31.97 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.2705, allocations: 80.59 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2706, allocations: 0 / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003097/0.2709, allocations: 93.62 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.2709, allocations: 8 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.2709, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.2709, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.271, allocations: 19.97 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.271, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.4e-05/0.2711, allocations: 11.98 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.2711, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 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.581e-05/0.2712, allocations: 117.8 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.2712, allocations: 3.906 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003504/0.2716, allocations: 113.5 kB / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2716, allocations: 0 / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2716, allocations: 0 / 1.068 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2716, allocations: 8 kB / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.2718, allocations: 177.5 kB / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.2718, allocations: 0 / 1.068 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.577e-05/0.2719, allocations: 11.98 kB / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.2719, allocations: 0 / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.2719, allocations: 4 kB / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.272, allocations: 4 kB / 1.068 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.272, allocations: 0 / 1.068 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.2723, allocations: 197.6 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.2724, allocations: 89.05 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.2724, allocations: 0 / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.2725, allocations: 15.98 kB / 1.069 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.2725, allocations: 7.984 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.497e-06/0.2726, allocations: 0 / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.364e-05/0.2726, allocations: 83.28 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2726, allocations: 4 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000203/0.2728, allocations: 4 kB / 1.069 GB, free: 9.109 MB / 0.8262 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.0006878/0.2735, allocations: 0.7319 MB / 1.069 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003292/0.2738, allocations: 75.86 kB / 1.069 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.2739, allocations: 0 / 1.069 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.274, allocations: 35.95 kB / 1.07 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.2743, allocations: 8 kB / 1.07 GB, free: 8.234 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.2747, allocations: 177.1 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.275, allocations: 0.6807 MB / 1.07 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.391e-05/0.275, allocations: 0 / 1.07 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.275, allocations: 19.42 kB / 1.07 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.275, allocations: 0 / 1.07 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9898/1.265, allocations: 1.587 MB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/13.63, allocations: 4 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches