Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 112.6 kB / 16.37 MB, free: 6 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.001363/0.001363, allocations: 196 kB / 17.31 MB, free: 5.613 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.446/1.446, 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 9.1.2-maint.9.1.x/package.mo): time 2.317/2.317, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 74.14 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3599, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.00219/0.3622, allocations: 0.7136 MB / 0.9518 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000992/0.3632, allocations: 0.8294 MB / 0.9527 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.305e-05/0.3632, allocations: 4 kB / 0.9527 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.792e-05/0.3633, allocations: 3.938 kB / 0.9527 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.756e-05/0.3633, allocations: 3.938 kB / 0.9527 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.3635, allocations: 19.92 kB / 0.9527 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.971e-05/0.3636, allocations: 47.84 kB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.3637, allocations: 8 kB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.939e-05/0.3638, allocations: 23.92 kB / 0.9528 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.244e-05/0.3639, allocations: 15.92 kB / 0.9528 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.3639, allocations: 4 kB / 0.9528 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.176e-05/0.3639, allocations: 4 kB / 0.9528 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.567e-05/0.364, allocations: 11.97 kB / 0.9528 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.056e-05/0.364, allocations: 23.86 kB / 0.9528 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.817e-05/0.3641, allocations: 35.88 kB / 0.9529 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3641, allocations: 0 / 0.9529 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3641, allocations: 0 / 0.9529 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.3641, allocations: 4 kB / 0.9529 GB, free: 6.281 MB / 0.7325 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.0005573/0.3647, allocations: 359.3 kB / 0.9532 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.3647, allocations: 8.031 kB / 0.9532 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.3648, allocations: 8.875 kB / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.3649, allocations: 176.2 kB / 0.9534 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.3649, allocations: 4.375 kB / 0.9534 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-06/0.365, allocations: 384 / 0.9534 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.3652, allocations: 74.22 kB / 0.9535 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3652, allocations: 192 / 0.9535 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.3653, allocations: 3.938 kB / 0.9535 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3653, allocations: 0 / 0.9535 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002639/0.3655, allocations: 63.92 kB / 0.9535 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003746/0.3659, allocations: 272.9 kB / 0.9538 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.3661, allocations: 54.48 kB / 0.9538 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.3663, allocations: 40.91 kB / 0.9539 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.3663, allocations: 0 / 0.9539 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.3663, allocations: 38.56 kB / 0.9539 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.3663, allocations: 0 / 0.9539 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0004972/0.3668, allocations: 133.4 kB / 0.954 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.3669, allocations: 51.41 kB / 0.9541 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.409e-05/0.367, allocations: 117.8 kB / 0.9542 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.367, allocations: 25.7 kB / 0.9542 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.081e-05/0.3671, allocations: 84.14 kB / 0.9543 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-05/0.3671, allocations: 11.84 kB / 0.9543 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.3671, allocations: 17.7 kB / 0.9543 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3673, allocations: 314.8 kB / 0.9546 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.3674, allocations: 31.97 kB / 0.9547 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.3675, allocations: 35.95 kB / 0.9547 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.3678, allocations: 68.78 kB / 0.9548 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3678, allocations: 3.938 kB / 0.9548 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000285/0.3681, allocations: 105.5 kB / 0.9549 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3681, allocations: 8 kB / 0.9549 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3681, allocations: 0 / 0.9549 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3681, allocations: 0 / 0.9549 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.3683, allocations: 11.98 kB / 0.9549 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.3683, allocations: 0 / 0.9549 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.38e-05/0.3684, allocations: 16.3 kB / 0.9549 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.3684, allocations: 0 / 0.9549 GB, free: 3.957 MB / 0.7325 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.851e-05/0.3685, allocations: 121.8 kB / 0.955 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.3685, allocations: 0 / 0.955 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003279/0.3688, allocations: 113.4 kB / 0.9551 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3688, allocations: 0 / 0.9551 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3689, allocations: 0 / 0.9551 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3689, allocations: 8 kB / 0.9551 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.369, allocations: 173.5 kB / 0.9553 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.369, allocations: 3.984 kB / 0.9553 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.589e-05/0.3691, allocations: 11.98 kB / 0.9553 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3691, allocations: 0 / 0.9553 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.3692, allocations: 0 / 0.9553 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3692, allocations: 4 kB / 0.9553 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3692, allocations: 0 / 0.9553 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.3695, allocations: 203.3 kB / 0.9555 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.124e-05/0.3695, allocations: 81.05 kB / 0.9556 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.3696, allocations: 0 / 0.9556 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.778e-05/0.3697, allocations: 11.98 kB / 0.9556 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.3697, allocations: 4 kB / 0.9556 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.3697, allocations: 7.922 kB / 0.9556 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.034e-05/0.3698, allocations: 87.59 kB / 0.9557 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3698, allocations: 4 kB / 0.9557 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002173/0.37, allocations: 7.906 kB / 0.9557 GB, free: 3.027 MB / 0.7325 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.0001569/0.3702, allocations: 99.25 kB / 0.9558 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000313/0.3705, allocations: 71.91 kB / 0.9559 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3705, allocations: 8 kB / 0.9559 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.3706, allocations: 35.91 kB / 0.9559 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.371, allocations: 13.77 kB / 0.9559 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.3713, allocations: 121.6 kB / 0.956 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.3716, allocations: 0.6883 MB / 0.9567 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.95e-05/0.3716, allocations: 4 kB / 0.9567 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.82e-05/0.3716, allocations: 7.438 kB / 0.9567 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.3716, allocations: 0 / 0.9567 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of Templates: time 0.002832/0.3745, allocations: 0.6797 MB / 0.9574 GB, free: 1.254 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches