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: 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_latest_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_latest_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.001103/0.001103, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001369/0.001369, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.823/2.823, allocations: 436.5 MB / 0.7104 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004416/0.0004417, allocations: 12 kB / 0.8708 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8629/0.8633, allocations: 153.7 MB / 1.021 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.0009596/0.8644, allocations: 426.2 kB / 1.021 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008997/0.8653, allocations: 0.8118 MB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.215e-05/0.8653, allocations: 4 kB / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.517e-05/0.8653, allocations: 3.984 kB / 1.022 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.171e-05/0.8654, allocations: 11.92 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001414/0.8656, allocations: 15.98 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.778e-05/0.8656, allocations: 27.95 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.575e-05/0.8657, allocations: 4 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.872e-05/0.8658, allocations: 15.92 kB / 1.022 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.806e-05/0.8659, allocations: 15.92 kB / 1.022 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.8659, allocations: 7.938 kB / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-06/0.8659, allocations: 0 / 1.022 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.473e-05/0.8659, allocations: 11.98 kB / 1.022 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.866, allocations: 25.7 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.905e-05/0.866, allocations: 35.92 kB / 1.022 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.866, allocations: 3.938 kB / 1.022 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.715e-06/0.8661, allocations: 0 / 1.022 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.8661, allocations: 0 / 1.022 GB, free: 15.67 MB / 0.7794 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.0005003/0.8666, allocations: 365.2 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.8666, allocations: 15.98 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.942e-05/0.8667, allocations: 3.906 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.8668, allocations: 167.1 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.8668, allocations: 0 / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.8668, allocations: 7.938 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.8671, allocations: 81.61 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.8671, allocations: 0 / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.8671, allocations: 4 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.8671, allocations: 0 / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003018/0.8674, allocations: 87.86 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003482/0.8678, allocations: 272.8 kB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.868, allocations: 66.53 kB / 1.023 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.868, allocations: 96 / 1.023 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.8681, allocations: 38.55 kB / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.8681, allocations: 0 / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005499/0.8686, allocations: 165.5 kB / 1.023 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.8687, allocations: 51.41 kB / 1.023 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.457e-05/0.8687, allocations: 109.8 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.8688, allocations: 25.7 kB / 1.024 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.467e-05/0.8688, allocations: 92.12 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.8688, allocations: 11.75 kB / 1.024 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.017e-06/0.8689, allocations: 4 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.869, allocations: 318.8 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.8691, allocations: 39.95 kB / 1.024 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.8693, allocations: 43.97 kB / 1.024 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.8694, allocations: 43.95 kB / 1.024 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.8694, allocations: 4 kB / 1.024 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003168/0.8697, allocations: 129.5 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.8698, allocations: 4 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.8698, allocations: 0 / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.8698, allocations: 0 / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.8699, allocations: 19.98 kB / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.8699, allocations: 0 / 1.024 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.094e-05/0.87, allocations: 19.98 kB / 1.024 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.87, allocations: 7.984 kB / 1.024 GB, free: 13.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.129e-05/0.8701, allocations: 109.8 kB / 1.024 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.8701, allocations: 11.86 kB / 1.024 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003639/0.8705, allocations: 129.5 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.8705, allocations: 0 / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.8705, allocations: 0 / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.8705, allocations: 0 / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.8707, allocations: 161.7 kB / 1.025 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.8707, allocations: 4 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.324e-05/0.8708, allocations: 23.97 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.8708, allocations: 3.953 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.8708, allocations: 12 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.8708, allocations: 3.938 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.8709, allocations: 0 / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.8712, allocations: 211.5 kB / 1.025 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.901e-05/0.8713, allocations: 85 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.8713, allocations: 3.953 kB / 1.025 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.8714, allocations: 23.92 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.8715, allocations: 4.422 kB / 1.025 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.8715, allocations: 3.984 kB / 1.025 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.561e-05/0.8715, allocations: 87.28 kB / 1.025 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8715, allocations: 4 kB / 1.025 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002048/0.8718, allocations: 4 kB / 1.025 GB, free: 12.33 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001296/0.8719, allocations: 99.25 kB / 1.025 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003383/0.8722, allocations: 91.91 kB / 1.025 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.8722, allocations: 0 / 1.025 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.8724, allocations: 51.95 kB / 1.025 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.8726, allocations: 11.94 kB / 1.025 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002979/0.8729, allocations: 138.5 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.8732, allocations: 0.6848 MB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.822e-05/0.8732, allocations: 4 kB / 1.026 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.897e-05/0.8733, allocations: 11.44 kB / 1.026 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.8733, allocations: 0 / 1.026 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of Templates: time 0.002478/0.8757, allocations: 0.521 MB / 1.027 GB, free: 10.67 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches