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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001915/0.001915, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002439/0.002439, allocations: 194.7 kB / 16.25 MB, free: 6.629 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.471/1.471, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.532/2.532, allocations: 390.2 MB / 0.6643 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 67.89 kB / 0.8121 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8636/0.8651, allocations: 140.4 MB / 0.9491 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.002541/0.8677, allocations: 0.756 MB / 0.9499 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.8689, allocations: 0.8262 MB / 0.9507 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.082e-05/0.8689, allocations: 1.438 kB / 0.9507 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.983e-05/0.869, allocations: 4 kB / 0.9507 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.103e-05/0.8691, allocations: 5.188 kB / 0.9507 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.8693, allocations: 14.73 kB / 0.9507 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.8694, allocations: 48.33 kB / 0.9507 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.8696, allocations: 13.44 kB / 0.9507 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.753e-05/0.8696, allocations: 17.42 kB / 0.9508 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.715e-05/0.8697, allocations: 21.42 kB / 0.9508 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.8697, allocations: 8.125 kB / 0.9508 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.598e-05/0.8698, allocations: 4.125 kB / 0.9508 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/0.8698, allocations: 11.92 kB / 0.9508 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.512e-05/0.8698, allocations: 12.06 kB / 0.9508 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.8699, allocations: 44.09 kB / 0.9509 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.8699, allocations: 0 / 0.9509 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.455e-06/0.87, allocations: 0 / 0.9509 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.87, allocations: 0 / 0.9509 GB, free: 7.641 MB / 0.7169 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.00054/0.8705, allocations: 372.6 kB / 0.9512 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.8706, allocations: 9.625 kB / 0.9512 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.8706, allocations: 3.688 kB / 0.9512 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.8707, allocations: 171 kB / 0.9514 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.8708, allocations: 384 / 0.9514 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.8708, allocations: 3.125 kB / 0.9514 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.8711, allocations: 74.77 kB / 0.9515 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.8711, allocations: 192 / 0.9515 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.8711, allocations: 5.312 kB / 0.9515 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.8711, allocations: 4 kB / 0.9515 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002811/0.8714, allocations: 63.67 kB / 0.9515 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.8718, allocations: 262.7 kB / 0.9518 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.872, allocations: 64.42 kB / 0.9518 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.8722, allocations: 40.16 kB / 0.9519 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.8722, allocations: 0 / 0.9519 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.8722, allocations: 31.94 kB / 0.9519 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.8722, allocations: 0 / 0.9519 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005556/0.8728, allocations: 134.3 kB / 0.952 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.8729, allocations: 56.47 kB / 0.9521 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.97e-05/0.873, allocations: 110.9 kB / 0.9522 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.873, allocations: 30.83 kB / 0.9522 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.873, allocations: 85.86 kB / 0.9523 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.873, allocations: 13.28 kB / 0.9523 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.8731, allocations: 12.25 kB / 0.9523 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.939e-05/0.8731, allocations: 320.4 kB / 0.9526 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.8733, allocations: 29.41 kB / 0.9527 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.8734, allocations: 29.36 kB / 0.9527 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.8737, allocations: 72.22 kB / 0.9528 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.8737, allocations: 3.938 kB / 0.9528 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000312/0.874, allocations: 109.5 kB / 0.9529 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.874, allocations: 9.219 kB / 0.9529 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.8741, allocations: 7.938 kB / 0.9529 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.8741, allocations: 0 / 0.9529 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.8742, allocations: 14.58 kB / 0.9529 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.8742, allocations: 1.344 kB / 0.9529 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.876e-05/0.8743, allocations: 11.02 kB / 0.9529 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.8743, allocations: 0 / 0.9529 GB, free: 5.66 MB / 0.7169 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.371e-05/0.8744, allocations: 120.5 kB / 0.953 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.8744, allocations: 5.406 kB / 0.953 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003584/0.8748, allocations: 104.6 kB / 0.9531 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.8748, allocations: 1.688 kB / 0.9531 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.8748, allocations: 0 / 0.9531 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.8748, allocations: 0 / 0.9531 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.875, allocations: 173.6 kB / 0.9533 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.875, allocations: 3.938 kB / 0.9533 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.683e-05/0.8751, allocations: 21.88 kB / 0.9533 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.8751, allocations: 1.312 kB / 0.9533 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.8751, allocations: 0 / 0.9533 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.8751, allocations: 1.219 kB / 0.9533 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.8751, allocations: 0 / 0.9533 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.8755, allocations: 199.6 kB / 0.9535 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.145e-05/0.8755, allocations: 82.31 kB / 0.9536 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.8756, allocations: 1.281 kB / 0.9536 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.8757, allocations: 10.27 kB / 0.9536 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.8757, allocations: 6.594 kB / 0.9536 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-06/0.8758, allocations: 1.438 kB / 0.9536 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.916e-05/0.8758, allocations: 88.64 kB / 0.9537 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8758, allocations: 1.125 kB / 0.9537 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002227/0.876, allocations: 10 kB / 0.9537 GB, free: 4.867 MB / 0.7169 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.000163/0.8762, allocations: 101.7 kB / 0.9538 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003346/0.8765, allocations: 66.77 kB / 0.9539 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.8766, allocations: 0 / 0.9539 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.8767, allocations: 42.05 kB / 0.9539 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.877, allocations: 11.5 kB / 0.9539 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003412/0.8774, allocations: 135.5 kB / 0.9541 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.8775, allocations: 0.6845 MB / 0.9547 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.254e-05/0.8776, allocations: 5.25 kB / 0.9547 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/0.8776, allocations: 8.781 kB / 0.9547 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8776, allocations: 1.312 kB / 0.9547 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of Templates: time 0.003062/0.8807, allocations: 0.5844 MB / 0.9553 GB, free: 3.57 MB / 0.7169 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 -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/jenkins/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