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.001178/0.001178, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.0012/0.001199, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.347/1.347, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.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.252/2.252, allocations: 390.3 MB / 0.6653 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 66.52 kB / 0.8132 GB, free: 33.11 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2724, allocations: 140.4 MB / 0.9503 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.001954/0.2744, allocations: 0.6963 MB / 0.951 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009128/0.2753, allocations: 0.8294 MB / 0.9518 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.072e-05/0.2754, allocations: 4 kB / 0.9518 GB, free: 7.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.745e-05/0.2754, allocations: 3.938 kB / 0.9518 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.317e-05/0.2755, allocations: 7.922 kB / 0.9518 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 9.297e-05/0.2756, allocations: 19.92 kB / 0.9518 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.889e-05/0.2756, allocations: 35.92 kB / 0.9519 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.129e-05/0.2757, allocations: 15.97 kB / 0.9519 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.983e-05/0.2758, allocations: 19.92 kB / 0.9519 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.442e-05/0.2758, allocations: 23.92 kB / 0.9519 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.2758, allocations: 4 kB / 0.9519 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.618e-06/0.2758, allocations: 4 kB / 0.9519 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.2759, allocations: 7.938 kB / 0.9519 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.315e-05/0.2759, allocations: 15.92 kB / 0.9519 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.099e-05/0.276, allocations: 39.86 kB / 0.952 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.276, allocations: 0 / 0.952 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.31e-07/0.276, allocations: 0 / 0.952 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.276, allocations: 0 / 0.952 GB, free: 7.086 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.000404/0.2764, allocations: 379.5 kB / 0.9523 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.798e-05/0.2764, allocations: 8.031 kB / 0.9523 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.148e-05/0.2765, allocations: 8.875 kB / 0.9524 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.878e-05/0.2766, allocations: 172.2 kB / 0.9525 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.722e-06/0.2766, allocations: 4.312 kB / 0.9525 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.473e-06/0.2766, allocations: 384 / 0.9525 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.2768, allocations: 70.22 kB / 0.9526 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.2768, allocations: 4.188 kB / 0.9526 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.2768, allocations: 7.922 kB / 0.9526 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.2768, allocations: 3.984 kB / 0.9526 GB, free: 6.348 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002688/0.2771, allocations: 59.94 kB / 0.9527 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002767/0.2774, allocations: 264.9 kB / 0.9529 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.2776, allocations: 62.47 kB / 0.953 GB, free: 5.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/0.2777, allocations: 40.92 kB / 0.953 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.2778, allocations: 0 / 0.953 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.2778, allocations: 34.55 kB / 0.953 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.2778, allocations: 4 kB / 0.9531 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0004892/0.2783, allocations: 129.4 kB / 0.9532 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.2783, allocations: 51.41 kB / 0.9532 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.666e-05/0.2784, allocations: 109.8 kB / 0.9533 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.2784, allocations: 29.7 kB / 0.9534 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.676e-05/0.2785, allocations: 88.12 kB / 0.9534 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.472e-05/0.2785, allocations: 7.906 kB / 0.9535 GB, free: 5.375 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.2785, allocations: 13.72 kB / 0.9535 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.2786, allocations: 314.8 kB / 0.9538 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.2788, allocations: 31.95 kB / 0.9538 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.2789, allocations: 35.97 kB / 0.9538 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002611/0.2792, allocations: 64.78 kB / 0.9539 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.2792, allocations: 7.875 kB / 0.9539 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003159/0.2795, allocations: 101.5 kB / 0.954 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.2795, allocations: 8 kB / 0.954 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.145e-06/0.2796, allocations: 0 / 0.954 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.2796, allocations: 0 / 0.954 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.2797, allocations: 15.97 kB / 0.954 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2797, allocations: 4 kB / 0.954 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.711e-05/0.2798, allocations: 15.98 kB / 0.954 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.2798, allocations: 4 kB / 0.954 GB, free: 4.746 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 6.852e-05/0.2799, allocations: 117.3 kB / 0.9542 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.625e-05/0.2799, allocations: 7.938 kB / 0.9542 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003384/0.2802, allocations: 105.5 kB / 0.9543 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2802, allocations: 0 / 0.9543 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.2803, allocations: 4 kB / 0.9543 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.2803, allocations: 3.984 kB / 0.9543 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.2804, allocations: 177.5 kB / 0.9544 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2804, allocations: 0 / 0.9544 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.267e-05/0.2805, allocations: 11.98 kB / 0.9544 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2805, allocations: 4.312 kB / 0.9545 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.2806, allocations: 4 kB / 0.9545 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2806, allocations: 0 / 0.9545 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2806, allocations: 0 / 0.9545 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.2809, allocations: 207.3 kB / 0.9547 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.425e-05/0.281, allocations: 81.05 kB / 0.9547 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.281, allocations: 4 kB / 0.9547 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.2811, allocations: 7.984 kB / 0.9547 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.2811, allocations: 7.984 kB / 0.9548 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.2811, allocations: 4 kB / 0.9548 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.976e-05/0.2812, allocations: 91.58 kB / 0.9548 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2812, allocations: 0 / 0.9548 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002135/0.2814, allocations: 7.906 kB / 0.9548 GB, free: 3.816 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.0001421/0.2816, allocations: 103.2 kB / 0.9549 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003171/0.2819, allocations: 67.92 kB / 0.955 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2819, allocations: 4 kB / 0.955 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.2821, allocations: 35.91 kB / 0.9551 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.2823, allocations: 11.92 kB / 0.9551 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003248/0.2827, allocations: 147.3 kB / 0.9552 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.2829, allocations: 0.6844 MB / 0.9559 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.2829, allocations: 11.44 kB / 0.9559 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.283, allocations: 0 / 0.9559 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of Templates: time 0.001912/0.2849, allocations: 0.7565 MB / 0.9566 GB, free: 1.945 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 -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