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.00203/0.00203, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002222/0.002222, allocations: 196.3 kB / 16.14 MB, free: 6.711 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.586/1.586, allocations: 222.9 MB / 239.8 MB, free: 4.555 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.897/2.897, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 67.91 kB / 0.8686 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7365/0.7385, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002093/0.7406, allocations: 0.7723 MB / 1.017 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.7416, allocations: 0.8196 MB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.566e-05/0.7417, allocations: 0 / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.152e-05/0.7417, allocations: 7.922 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.553e-05/0.7418, allocations: 11.94 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001541/0.742, allocations: 15.92 kB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.874e-05/0.7421, allocations: 43.91 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.7422, allocations: 4 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.133e-05/0.7423, allocations: 15.92 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.088e-05/0.7423, allocations: 23.91 kB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.7424, allocations: 0 / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.476e-05/0.7424, allocations: 7.938 kB / 1.018 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.996e-05/0.7424, allocations: 11.94 kB / 1.018 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.003e-05/0.7425, allocations: 19.86 kB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001135/0.7426, allocations: 43.86 kB / 1.018 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.7426, allocations: 0 / 1.018 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.72e-07/0.7426, allocations: 0 / 1.018 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.7426, allocations: 0 / 1.018 GB, free: 0.9531 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.000636/0.7432, allocations: 365.3 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.7433, allocations: 8.031 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.7433, allocations: 8.938 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.7435, allocations: 176.3 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.7435, allocations: 384 / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.7435, allocations: 384 / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.7439, allocations: 74.22 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.7439, allocations: 192 / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.7439, allocations: 3.938 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.7439, allocations: 0 / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/0.7442, allocations: 71.86 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004862/0.7447, allocations: 261 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.745, allocations: 58.58 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.7451, allocations: 44.81 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.7452, allocations: 0 / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.7452, allocations: 34.5 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.7452, allocations: 0 / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005915/0.7458, allocations: 133.5 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.7459, allocations: 51.41 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.746, allocations: 109.8 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.746, allocations: 25.7 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.879e-05/0.7461, allocations: 88.08 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.7461, allocations: 11.84 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-05/0.7462, allocations: 21.7 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.7463, allocations: 314.8 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.7465, allocations: 27.97 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.7467, allocations: 31.95 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.7469, allocations: 76.72 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.7469, allocations: 3.938 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003308/0.7473, allocations: 97.53 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.7473, allocations: 5.25 kB / 1.02 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.7473, allocations: 4 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.7474, allocations: 4 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.7475, allocations: 11.98 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.7475, allocations: 0 / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.7476, allocations: 19.97 kB / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.7476, allocations: 3.938 kB / 1.02 GB, free: 14.62 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 0.0001053/0.7477, allocations: 114.6 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.686e-05/0.7478, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004026/0.7482, allocations: 117.7 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.7482, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.7482, allocations: 48 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.7483, allocations: 7.984 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.7485, allocations: 173.6 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7485, allocations: 4 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.762e-05/0.7486, allocations: 11.98 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.7486, allocations: 4 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.7486, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.7486, allocations: 4 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7486, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003873/0.749, allocations: 203.3 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/0.7491, allocations: 81.02 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.7491, allocations: 4 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.7492, allocations: 11.98 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.7493, allocations: 7.984 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.7493, allocations: 0 / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.483e-05/0.7493, allocations: 83.28 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7493, allocations: 3.938 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002109/0.7496, allocations: 8 kB / 1.021 GB, free: 13.7 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.0001479/0.7497, allocations: 107.2 kB / 1.021 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003425/0.7501, allocations: 67.92 kB / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.7501, allocations: 3.938 kB / 1.021 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.7502, allocations: 39.97 kB / 1.021 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.7506, allocations: 7.938 kB / 1.021 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.751, allocations: 139.8 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.7513, allocations: 0.6809 MB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.256e-05/0.7514, allocations: 4 kB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.011e-05/0.7514, allocations: 7.438 kB / 1.022 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of SimCode: time 4.91e-07/0.7514, allocations: 4 kB / 1.022 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of Templates: time 0.00318/0.7546, allocations: 0.5378 MB / 1.023 GB, free: 12.05 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