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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0007549/0.0007549, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004642/0.004642, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.274/1.274, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.498/2.498, allocations: 462.7 MB / 0.7364 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003088/0.0003088, allocations: 12.28 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2691, allocations: 159.6 MB / 1.059 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.0008152/0.27, allocations: 444.4 kB / 1.059 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008458/0.2709, allocations: 0.8313 MB / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.087e-05/0.2709, allocations: 0 / 1.06 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.799e-05/0.2709, allocations: 7.984 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.704e-05/0.271, allocations: 3.938 kB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001258/0.2711, allocations: 15.98 kB / 1.06 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.668e-05/0.2712, allocations: 43.8 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.821e-05/0.2713, allocations: 7.984 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.953e-05/0.2714, allocations: 19.92 kB / 1.06 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.672e-05/0.2714, allocations: 15.92 kB / 1.06 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.2715, allocations: 4 kB / 1.06 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.637e-06/0.2715, allocations: 4 kB / 1.06 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.2715, allocations: 7.984 kB / 1.06 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.528e-05/0.2715, allocations: 37.58 kB / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.831e-05/0.2716, allocations: 43.84 kB / 1.06 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2716, allocations: 0 / 1.06 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2716, allocations: 0 / 1.06 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.2716, allocations: 0 / 1.06 GB, free: 3.285 MB / 0.8106 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.0004439/0.2721, allocations: 367.7 kB / 1.061 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.2721, allocations: 11.97 kB / 1.061 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.789e-05/0.2722, allocations: 34.75 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.097e-05/0.2722, allocations: 4.922 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.476e-05/0.2723, allocations: 172.2 kB / 1.061 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.2723, allocations: 4.359 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.196e-06/0.2723, allocations: 4.312 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002379/0.2726, allocations: 82.22 kB / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.2726, allocations: 3.938 kB / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.2726, allocations: 0 / 1.061 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.2726, allocations: 4 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.2729, allocations: 83.92 kB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003093/0.2732, allocations: 272.9 kB / 1.061 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.2734, allocations: 70.47 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.2736, allocations: 48.92 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.2736, allocations: 0 / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.2737, allocations: 30.56 kB / 1.061 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 7.41e-07/0.2737, allocations: 0 / 1.061 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005453/0.2742, allocations: 169.5 kB / 1.062 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.2742, allocations: 55.34 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.123e-05/0.2743, allocations: 105.8 kB / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.2743, allocations: 37.64 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.333e-05/0.2744, allocations: 80.14 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.2744, allocations: 11.89 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.2744, allocations: 17.72 kB / 1.062 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.351e-05/0.2745, allocations: 310.8 kB / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.2747, allocations: 43.95 kB / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.2748, allocations: 47.91 kB / 1.062 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002993/0.2751, allocations: 92.72 kB / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2751, allocations: 0 / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003259/0.2755, allocations: 125.5 kB / 1.062 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.2755, allocations: 4 kB / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.2755, allocations: 0 / 1.062 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.2755, allocations: 4 kB / 1.062 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.2757, allocations: 31.97 kB / 1.062 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.2757, allocations: 0 / 1.062 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.907e-05/0.2757, allocations: 15.98 kB / 1.062 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.2758, allocations: 4 kB / 1.062 GB, free: 0.7461 MB / 0.8106 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.565e-05/0.2758, allocations: 109.8 kB / 1.063 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.2759, allocations: 8 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003604/0.2762, allocations: 125.5 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.2762, allocations: 384 / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2763, allocations: 4 kB / 1.063 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.2763, allocations: 3.938 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.2764, allocations: 177.5 kB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.2764, allocations: 3.984 kB / 1.063 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.2765, allocations: 19.98 kB / 1.063 GB, free: 240 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2765, allocations: 4 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.2765, allocations: 0 / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2766, allocations: 0 / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2766, allocations: 0 / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/0.2769, allocations: 223.4 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.884e-05/0.277, allocations: 77.11 kB / 1.063 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.277, allocations: 4 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.2771, allocations: 19.94 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.2771, allocations: 3.984 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.2772, allocations: 0 / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.068e-05/0.2772, allocations: 87.28 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.104e-06/0.2772, allocations: 0 / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002082/0.2774, allocations: 11.94 kB / 1.063 GB, free: 15.78 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.0006298/0.2781, allocations: 0.7514 MB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003309/0.2784, allocations: 95.86 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2784, allocations: 0 / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.2786, allocations: 59.83 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.2788, allocations: 6.391 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.2792, allocations: 172.2 kB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.2795, allocations: 0.6848 MB / 1.065 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.522e-05/0.2795, allocations: 0 / 1.065 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.2795, allocations: 19.44 kB / 1.065 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.2795, allocations: 0 / 1.065 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.867/2.147, allocations: 1.308 MB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/2.147, allocations: 203.8 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/3.937, allocations: 4 kB / 1.067 GB, free: 12.46 MB / 0.8262 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