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.001559/0.001559, allocations: 110 kB / 16.37 MB, free: 6.469 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.001454/0.001454, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.49/1.49, allocations: 222.9 MB / 241 MB, free: 15.18 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.468/2.468, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002316/0.002316, allocations: 63.91 kB / 0.8707 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3376, allocations: 151.6 MB / 1.019 GB, free: 9.836 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002104/0.3397, allocations: 0.6961 MB / 1.019 GB, free: 9.137 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008832/0.3406, allocations: 0.8351 MB / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.765e-05/0.3407, allocations: 0 / 1.02 GB, free: 8.289 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.954e-05/0.3407, allocations: 7.922 kB / 1.02 GB, free: 8.281 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.026e-05/0.3408, allocations: 7.875 kB / 1.02 GB, free: 8.273 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001459/0.341, allocations: 19.97 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.739e-05/0.3411, allocations: 47.91 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3412, allocations: 8 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.256e-05/0.3412, allocations: 15.92 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.007e-05/0.3413, allocations: 23.92 kB / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.3413, allocations: 7.938 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.147e-06/0.3413, allocations: 0 / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.3414, allocations: 11.98 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.54e-05/0.3414, allocations: 19.86 kB / 1.02 GB, free: 8.121 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.692e-05/0.3415, allocations: 35.88 kB / 1.021 GB, free: 8.086 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3415, allocations: 4 kB / 1.021 GB, free: 8.082 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3415, allocations: 0 / 1.021 GB, free: 8.082 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.3415, allocations: 3.984 kB / 1.021 GB, free: 8.078 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.0004555/0.342, allocations: 367.3 kB / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.342, allocations: 8.922 kB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.342, allocations: 8.938 kB / 1.021 GB, free: 7.652 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.877e-05/0.3421, allocations: 168.2 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.3422, allocations: 4.375 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.055e-05/0.3422, allocations: 4.375 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.3424, allocations: 70.2 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.3424, allocations: 192 / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3424, allocations: 11.88 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.892e-06/0.3424, allocations: 0 / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.3427, allocations: 71.86 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.343, allocations: 261 kB / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.3432, allocations: 58.48 kB / 1.022 GB, free: 6.914 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.3433, allocations: 36.91 kB / 1.022 GB, free: 6.875 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.3434, allocations: 7.938 kB / 1.022 GB, free: 6.867 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.3434, allocations: 34.56 kB / 1.022 GB, free: 6.824 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.3434, allocations: 0 / 1.022 GB, free: 6.824 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0004613/0.3439, allocations: 129.5 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.3439, allocations: 55.41 kB / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.506e-05/0.344, allocations: 109.8 kB / 1.022 GB, free: 6.508 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.344, allocations: 33.7 kB / 1.022 GB, free: 6.469 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/0.3441, allocations: 88.06 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.3441, allocations: 11.81 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.3441, allocations: 13.72 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3442, allocations: 318.8 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.3444, allocations: 31.97 kB / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.3445, allocations: 36.08 kB / 1.022 GB, free: 5.961 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002371/0.3448, allocations: 68.88 kB / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.3448, allocations: 3.938 kB / 1.022 GB, free: 5.887 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002752/0.345, allocations: 105.6 kB / 1.023 GB, free: 5.777 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.3451, allocations: 4 kB / 1.023 GB, free: 5.773 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.3451, allocations: 0 / 1.023 GB, free: 5.773 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.3451, allocations: 0 / 1.023 GB, free: 5.773 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.3452, allocations: 15.98 kB / 1.023 GB, free: 5.758 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3452, allocations: 0 / 1.023 GB, free: 5.758 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.297e-05/0.3453, allocations: 15.98 kB / 1.023 GB, free: 5.742 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.3453, allocations: 0 / 1.023 GB, free: 5.742 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 7.53e-05/0.3454, allocations: 122.4 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.3454, allocations: 7.906 kB / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000321/0.3458, allocations: 101.5 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3458, allocations: 4 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3458, allocations: 0 / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3458, allocations: 0 / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.3459, allocations: 173.5 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.346, allocations: 0 / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.087e-05/0.346, allocations: 19.97 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3461, allocations: 3.938 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.3461, allocations: 4 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3461, allocations: 0 / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.3461, allocations: 0 / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.3464, allocations: 203.4 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.3464, allocations: 81.02 kB / 1.023 GB, free: 4.934 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.3465, allocations: 3.984 kB / 1.023 GB, free: 4.93 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.83e-05/0.3466, allocations: 11.98 kB / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.3466, allocations: 8 kB / 1.023 GB, free: 4.91 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.3466, allocations: 4 kB / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.428e-05/0.3467, allocations: 87.27 kB / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3467, allocations: 0 / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002128/0.3469, allocations: 8 kB / 1.023 GB, free: 4.812 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.000128/0.347, allocations: 95.25 kB / 1.023 GB, free: 4.707 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002899/0.3473, allocations: 75.86 kB / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.3473, allocations: 0 / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.3475, allocations: 35.95 kB / 1.024 GB, free: 4.598 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.3477, allocations: 15.88 kB / 1.024 GB, free: 4.582 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.348, allocations: 130.2 kB / 1.024 GB, free: 4.43 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.3483, allocations: 0.6807 MB / 1.024 GB, free: 3.723 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.452e-05/0.3483, allocations: 0 / 1.024 GB, free: 3.723 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.3483, allocations: 11.44 kB / 1.024 GB, free: 3.711 MB / 0.795 GB Notification: Performance of SimCode: time 3.41e-07/0.3484, allocations: 0 / 1.024 GB, free: 3.711 MB / 0.795 GB Notification: Performance of Templates: time 0.002461/0.3508, allocations: 0.6796 MB / 1.025 GB, free: 3.043 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 cvode -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