Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001634/0.001635, allocations: 192.2 kB / 16.25 MB, free: 6.633 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.496/1.496, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.768/2.768, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002035, allocations: 67.91 kB / 0.8688 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6814/0.6835, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002205/0.6857, allocations: 0.7704 MB / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.6869, allocations: 0.8273 MB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.905e-05/0.6869, allocations: 0 / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.648e-05/0.687, allocations: 0 / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.73e-05/0.6871, allocations: 7.938 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.6872, allocations: 11.98 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.395e-05/0.6873, allocations: 43.86 kB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.6874, allocations: 11.98 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.876e-05/0.6875, allocations: 19.92 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.479e-05/0.6876, allocations: 31.84 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.6876, allocations: 4 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.19e-05/0.6876, allocations: 4 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.6876, allocations: 4 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.326e-05/0.6877, allocations: 15.92 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.967e-05/0.6878, allocations: 47.8 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.6878, allocations: 0 / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6878, allocations: 0 / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.6878, allocations: 0 / 1.019 GB, free: 0.9141 MB / 0.7637 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.0005669/0.6884, allocations: 369.3 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.6884, allocations: 8.031 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.6885, allocations: 4.938 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.6886, allocations: 176.3 kB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.6886, allocations: 384 / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.6886, allocations: 384 / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.6889, allocations: 70.22 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.6889, allocations: 4.125 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.689, allocations: 11.88 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.689, allocations: 4 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002824/0.6893, allocations: 63.92 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.6897, allocations: 261 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002264/0.6899, allocations: 62.47 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.6901, allocations: 40.92 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.6901, allocations: 7.922 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.6902, allocations: 30.56 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.6902, allocations: 4 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005757/0.6907, allocations: 129.5 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.6908, allocations: 51.41 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.6909, allocations: 109.8 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.6909, allocations: 25.7 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.691, allocations: 88.14 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.697e-05/0.691, allocations: 15.83 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.6911, allocations: 13.72 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.6913, allocations: 314.8 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.6914, allocations: 31.95 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.6916, allocations: 39.91 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.6918, allocations: 64.78 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.6918, allocations: 3.938 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003103/0.6921, allocations: 105.5 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.6922, allocations: 9.562 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.6922, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.6922, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.6924, allocations: 15.97 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.6924, allocations: 4 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.782e-05/0.6925, allocations: 11.98 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.6925, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 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.782e-05/0.6926, allocations: 122.5 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.6926, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003659/0.693, allocations: 105.5 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.693, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.693, allocations: 4 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.693, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.6932, allocations: 177.5 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.6932, allocations: 4 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.308e-05/0.6933, allocations: 11.98 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.6933, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.6933, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.6933, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6933, allocations: 3.938 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003713/0.6937, allocations: 203.3 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.6938, allocations: 77.11 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.6938, allocations: 4.422 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.6939, allocations: 11.98 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.694, allocations: 7.984 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.694, allocations: 0 / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.626e-05/0.694, allocations: 91.27 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.694, allocations: 4 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002466/0.6943, allocations: 4 kB / 1.021 GB, free: 13.66 MB / 0.7794 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.0001516/0.6945, allocations: 107.2 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003597/0.6948, allocations: 75.84 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6948, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/0.695, allocations: 35.97 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.6953, allocations: 11.92 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.6957, allocations: 146 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.696, allocations: 0.6846 MB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.197e-05/0.6961, allocations: 0 / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.6961, allocations: 11.44 kB / 1.022 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6961, allocations: 0 / 1.022 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of Templates: time 0.003147/0.6993, allocations: 0.5752 MB / 1.023 GB, free: 11.96 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches