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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001158/0.001158, allocations: 102.9 kB / 16.35 MB, free: 5.828 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.001094/0.001095, allocations: 194.2 kB / 17.3 MB, free: 5.484 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.489/2.489, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001862, allocations: 64.39 kB / 0.8707 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3648, allocations: 151.6 MB / 1.019 GB, free: 9.789 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002199/0.3671, allocations: 0.7109 MB / 1.019 GB, free: 9.078 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000946/0.3681, allocations: 0.8351 MB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.082e-05/0.3681, allocations: 0 / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.251e-05/0.3682, allocations: 3.938 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.068e-05/0.3683, allocations: 7.938 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001562/0.3684, allocations: 15.97 kB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.274e-05/0.3685, allocations: 47.8 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.3686, allocations: 15.98 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.621e-05/0.3687, allocations: 15.97 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.837e-05/0.3688, allocations: 19.86 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.3688, allocations: 4 kB / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/0.3688, allocations: 4 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.18e-05/0.3688, allocations: 12 kB / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.456e-05/0.3689, allocations: 23.86 kB / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.19e-05/0.369, allocations: 35.88 kB / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.369, allocations: 0 / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.653e-06/0.369, allocations: 0 / 1.02 GB, free: 8.027 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.369, allocations: 0 / 1.02 GB, free: 8.027 MB / 0.795 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.0005444/0.3696, allocations: 367.3 kB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.3696, allocations: 8.922 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.869e-05/0.3696, allocations: 12.94 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.3698, allocations: 176.2 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.3698, allocations: 4.375 kB / 1.021 GB, free: 7.383 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.3699, allocations: 4.375 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.3701, allocations: 66.22 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3701, allocations: 192 / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.3702, allocations: 7.922 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.3702, allocations: 4 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000256/0.3704, allocations: 59.94 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.3708, allocations: 268.9 kB / 1.021 GB, free: 6.926 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.371, allocations: 54.47 kB / 1.021 GB, free: 6.863 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.3712, allocations: 40.92 kB / 1.022 GB, free: 6.82 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.3712, allocations: 4 kB / 1.022 GB, free: 6.816 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.3713, allocations: 42.48 kB / 1.022 GB, free: 6.766 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3713, allocations: 0 / 1.022 GB, free: 6.766 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0004894/0.3718, allocations: 137.6 kB / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.3718, allocations: 51.41 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.127e-05/0.3719, allocations: 105.8 kB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.3719, allocations: 25.7 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/0.372, allocations: 92.12 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.372, allocations: 7.812 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.3721, allocations: 21.66 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.3722, allocations: 314.8 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.3723, allocations: 35.95 kB / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.3724, allocations: 27.97 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.3727, allocations: 72.78 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3727, allocations: 3.938 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002775/0.373, allocations: 97.56 kB / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.373, allocations: 4 kB / 1.023 GB, free: 5.727 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.373, allocations: 0 / 1.023 GB, free: 5.727 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.373, allocations: 0 / 1.023 GB, free: 5.727 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.3732, allocations: 23.97 kB / 1.023 GB, free: 5.703 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.3732, allocations: 320 / 1.023 GB, free: 5.703 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.194e-05/0.3733, allocations: 15.98 kB / 1.023 GB, free: 5.688 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.3733, allocations: 0 / 1.023 GB, free: 5.688 MB / 0.795 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 9.23e-05/0.3734, allocations: 113.8 kB / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/0.3734, allocations: 3.906 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003423/0.3737, allocations: 113.5 kB / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3738, allocations: 0 / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3738, allocations: 0 / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3738, allocations: 3.984 kB / 1.023 GB, free: 5.438 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.374, allocations: 173.5 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.374, allocations: 0 / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.727e-05/0.3741, allocations: 15.98 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3741, allocations: 0 / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.3741, allocations: 4 kB / 1.023 GB, free: 5.199 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3741, allocations: 4 kB / 1.023 GB, free: 5.195 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3741, allocations: 3.984 kB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.3744, allocations: 195.4 kB / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.3745, allocations: 88.95 kB / 1.023 GB, free: 4.879 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.3745, allocations: 4 kB / 1.023 GB, free: 4.875 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.3746, allocations: 11.98 kB / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.3747, allocations: 3.984 kB / 1.023 GB, free: 4.859 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.3747, allocations: 0 / 1.023 GB, free: 4.859 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.534e-05/0.3747, allocations: 91.27 kB / 1.023 GB, free: 4.77 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3747, allocations: 3.938 kB / 1.023 GB, free: 4.766 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002198/0.3749, allocations: 8 kB / 1.023 GB, free: 4.758 MB / 0.795 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.0001466/0.3751, allocations: 107.2 kB / 1.023 GB, free: 4.641 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003079/0.3754, allocations: 67.92 kB / 1.024 GB, free: 4.574 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3754, allocations: 0 / 1.024 GB, free: 4.574 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001335/0.3756, allocations: 36.23 kB / 1.024 GB, free: 4.539 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.3759, allocations: 15.92 kB / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/0.3762, allocations: 130.2 kB / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002745/0.3765, allocations: 0.6768 MB / 1.024 GB, free: 3.668 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.78e-05/0.3765, allocations: 8.078 kB / 1.024 GB, free: 3.66 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.248e-05/0.3766, allocations: 7.438 kB / 1.024 GB, free: 3.652 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.3766, allocations: 0 / 1.024 GB, free: 3.652 MB / 0.795 GB Notification: Performance of Templates: time 0.002854/0.3794, allocations: 0.6773 MB / 1.025 GB, free: 2.984 MB / 0.795 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=480 -s gbode -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/jenkins1/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