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: 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_11_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_11_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.009933/0.009933, allocations: 102.3 kB / 15.73 MB, free: 6.059 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.002011/0.002011, allocations: 187.8 kB / 16.67 MB, free: 5.969 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.711/2.711, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 67.89 kB / 1.065 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9745/0.9758, allocations: 159.1 MB / 1.221 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001725/0.9775, allocations: 0.7081 MB / 1.221 GB, free: 1.367 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008431/0.9783, allocations: 0.8312 MB / 1.222 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.577e-05/0.9784, allocations: 0 / 1.222 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.597e-05/0.9784, allocations: 0 / 1.222 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.201e-05/0.9785, allocations: 11.88 kB / 1.222 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001369/0.9786, allocations: 15.97 kB / 1.222 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.044e-05/0.9787, allocations: 39.92 kB / 1.222 GB, free: 468 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.9788, allocations: 23.91 kB / 1.222 GB, free: 444 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.13e-05/0.9788, allocations: 19.92 kB / 1.222 GB, free: 424 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.677e-05/0.9789, allocations: 19.92 kB / 1.222 GB, free: 404 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.9789, allocations: 4 kB / 1.222 GB, free: 400 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.846e-06/0.9789, allocations: 0 / 1.222 GB, free: 400 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.9789, allocations: 15.88 kB / 1.222 GB, free: 384 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.979, allocations: 15.92 kB / 1.222 GB, free: 368 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.692e-05/0.9791, allocations: 47.8 kB / 1.222 GB, free: 320 kB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.9791, allocations: 0 / 1.222 GB, free: 320 kB / 0.9356 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9791, allocations: 0 / 1.222 GB, free: 320 kB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.9791, allocations: 0 / 1.222 GB, free: 320 kB / 0.9356 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.0004851/0.9795, allocations: 371.8 kB / 1.223 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.9796, allocations: 8.031 kB / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.9796, allocations: 8.891 kB / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.9797, allocations: 160.4 kB / 1.223 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.9797, allocations: 4.375 kB / 1.223 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.9798, allocations: 4.375 kB / 1.223 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.98, allocations: 70.2 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.483e-06/0.98, allocations: 4.125 kB / 1.223 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.98, allocations: 11.94 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.98, allocations: 0 / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002387/0.9802, allocations: 59.94 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.9806, allocations: 264.9 kB / 1.223 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.9808, allocations: 58.47 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001383/0.9809, allocations: 44.84 kB / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.9809, allocations: 0 / 1.223 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.981, allocations: 38.55 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.981, allocations: 0 / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.000453/0.9814, allocations: 121.6 kB / 1.224 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.9814, allocations: 55.41 kB / 1.224 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.298e-05/0.9815, allocations: 105.8 kB / 1.224 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.9815, allocations: 33.7 kB / 1.224 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.9816, allocations: 88.12 kB / 1.224 GB, free: 14.63 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.9816, allocations: 15.84 kB / 1.224 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.9816, allocations: 13.72 kB / 1.224 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.9817, allocations: 314.8 kB / 1.224 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.9819, allocations: 35.89 kB / 1.224 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.982, allocations: 35.97 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.9822, allocations: 64.78 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.9822, allocations: 7.938 kB / 1.224 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002752/0.9825, allocations: 97.62 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.9825, allocations: 4 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.9825, allocations: 3.938 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.9826, allocations: 3.984 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.9827, allocations: 15.98 kB / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.9827, allocations: 0 / 1.224 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.107e-05/0.9828, allocations: 19.88 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.9828, allocations: 3.938 kB / 1.224 GB, free: 13.98 MB / 0.9512 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.708e-05/0.9829, allocations: 117.8 kB / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.9829, allocations: 4 kB / 1.225 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003272/0.9832, allocations: 101.5 kB / 1.225 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.9832, allocations: 0 / 1.225 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/0.9832, allocations: 7.984 kB / 1.225 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.9832, allocations: 0 / 1.225 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.9834, allocations: 173.6 kB / 1.225 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9834, allocations: 0 / 1.225 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.899e-05/0.9835, allocations: 15.98 kB / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.9835, allocations: 0 / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.9835, allocations: 0 / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.9835, allocations: 0 / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.9835, allocations: 7.922 kB / 1.225 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.9838, allocations: 199.8 kB / 1.225 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.9838, allocations: 81.11 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.9839, allocations: 0 / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.984, allocations: 11.98 kB / 1.225 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.984, allocations: 8.031 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.984, allocations: 3.984 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.392e-05/0.984, allocations: 95.27 kB / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.01e-07/0.984, allocations: 0 / 1.225 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002081/0.9843, allocations: 4 kB / 1.225 GB, free: 13.06 MB / 0.9512 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.0001272/0.9844, allocations: 99.25 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003009/0.9847, allocations: 71.86 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9847, allocations: 4 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.9848, allocations: 35.95 kB / 1.225 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.9851, allocations: 11.94 kB / 1.225 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003369/0.9855, allocations: 133.9 kB / 1.226 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.9857, allocations: 0.6807 MB / 1.226 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.692e-05/0.9858, allocations: 11.92 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.9858, allocations: 11.44 kB / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of SimCode: time 2.7e-07/0.9858, allocations: 0 / 1.226 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of Templates: time 0.002572/0.9884, allocations: 0.6855 MB / 1.227 GB, free: 11.27 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile (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 & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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