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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001631/0.001631, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002399/0.0024, allocations: 192.1 kB / 16.53 MB, free: 6.625 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.458/1.458, allocations: 222.9 MB / 240.2 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.615/2.615, allocations: 437 MB / 0.7103 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 75.88 kB / 0.8692 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7128/0.7143, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002227/0.7166, allocations: 0.7072 MB / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009575/0.7176, allocations: 0.8234 MB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.99e-05/0.7176, allocations: 4 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.747e-05/0.7176, allocations: 7.938 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.378e-05/0.7177, allocations: 3.938 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.7179, allocations: 15.98 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.469e-05/0.718, allocations: 51.77 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.7181, allocations: 8 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.087e-05/0.7182, allocations: 15.98 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.025e-05/0.7183, allocations: 23.86 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.7183, allocations: 4 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.634e-05/0.7183, allocations: 8 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.7183, allocations: 7.984 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.7184, allocations: 15.92 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.484e-05/0.7185, allocations: 47.8 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.7185, allocations: 0 / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.764e-06/0.7185, allocations: 3.938 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.7185, allocations: 0 / 1.019 GB, free: 0.7344 MB / 0.7637 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.000557/0.7191, allocations: 367 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.7191, allocations: 16.03 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.7191, allocations: 0.9375 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.7193, allocations: 176.2 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.7193, allocations: 384 / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.7193, allocations: 384 / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002555/0.7196, allocations: 70.22 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.7196, allocations: 192 / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.7196, allocations: 3.938 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.7196, allocations: 0 / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/0.7199, allocations: 67.92 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.7204, allocations: 272.9 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.7206, allocations: 58.48 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.7208, allocations: 40.91 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.7208, allocations: 0 / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.7208, allocations: 30.56 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.7208, allocations: 0 / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005475/0.7214, allocations: 141.4 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.7215, allocations: 55.41 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.16e-05/0.7216, allocations: 105.8 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.7216, allocations: 25.7 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.004e-05/0.7217, allocations: 88.14 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.7217, allocations: 15.84 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.7217, allocations: 17.7 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.7219, allocations: 310.8 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.722, allocations: 27.97 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.7222, allocations: 35.95 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.7225, allocations: 68.78 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.7225, allocations: 3.938 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000318/0.7228, allocations: 105.5 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.7228, allocations: 8 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.7228, allocations: 3.938 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.7228, allocations: 4 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.723, allocations: 15.98 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.723, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.25e-05/0.7231, allocations: 11.97 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.7231, allocations: 4 kB / 1.021 GB, free: 14.4 MB / 0.7794 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 0.0001479/0.7232, allocations: 109.8 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.7233, allocations: 4 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003689/0.7237, allocations: 109.5 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.7237, allocations: 11.94 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.7237, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.7237, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.7239, allocations: 177.5 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.7239, allocations: 3.984 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.718e-05/0.724, allocations: 15.98 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-05/0.724, allocations: 4 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.724, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.724, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.724, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003646/0.7244, allocations: 199.4 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.7245, allocations: 77.11 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.7245, allocations: 4 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.7246, allocations: 7.984 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.7246, allocations: 11.94 kB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.7247, allocations: 4.406 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.239e-05/0.7247, allocations: 83.59 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7247, allocations: 0 / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002219/0.7249, allocations: 8 kB / 1.022 GB, free: 13.48 MB / 0.7794 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.0001335/0.7251, allocations: 103.2 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003429/0.7254, allocations: 71.91 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.7254, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.7256, allocations: 40 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.7259, allocations: 12.27 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003443/0.7263, allocations: 138 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000285/0.7266, allocations: 0.6807 MB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.273e-05/0.7266, allocations: 11.94 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.88e-05/0.7267, allocations: 7.438 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.7267, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of Templates: time 0.002768/0.7294, allocations: 0.674 MB / 1.024 GB, free: 11.7 MB / 0.7794 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 -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/jenkins/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