Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.881/1.881, allocations: 306.1 MB / 321.4 MB, free: 10.77 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 183.2 kB / 393.1 MB, free: 4.113 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 225.7 MB / 0.6743 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009291/0.0009292, allocations: 91.48 kB / 0.7935 GB, free: 40.01 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004065/0.0004066, allocations: 15.09 kB / 0.9224 GB, free: 8.684 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6686/0.6691, allocations: 121.3 MB / 1.041 GB, free: 58.1 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2): time 0.001007/0.6701, allocations: 433 kB / 1.041 GB, free: 57.88 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000946/0.6711, allocations: 0.8241 MB / 1.042 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.403e-05/0.6711, allocations: 2.344 kB / 1.042 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.018e-05/0.6712, allocations: 1.875 kB / 1.042 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.447e-05/0.6712, allocations: 3.938 kB / 1.042 GB, free: 57.25 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.6714, allocations: 11.28 kB / 1.042 GB, free: 57.24 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.467e-05/0.6715, allocations: 42.81 kB / 1.042 GB, free: 57.22 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.6716, allocations: 12.19 kB / 1.042 GB, free: 57.22 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.447e-05/0.6717, allocations: 20.45 kB / 1.042 GB, free: 57.21 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.364e-05/0.6718, allocations: 19 kB / 1.042 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.6718, allocations: 2.312 kB / 1.042 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.6718, allocations: 1.875 kB / 1.042 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.6718, allocations: 1.281 kB / 1.042 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.909e-05/0.6719, allocations: 44.55 kB / 1.042 GB, free: 57.16 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.574e-05/0.672, allocations: 36.98 kB / 1.042 GB, free: 57.14 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.672, allocations: 0.6562 kB / 1.042 GB, free: 57.14 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.285e-06/0.672, allocations: 1 kB / 1.042 GB, free: 57.14 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.672, allocations: 1.375 kB / 1.042 GB, free: 57.14 MB / 0.698 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.000509/0.6726, allocations: 369.1 kB / 1.043 GB, free: 56.78 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.6726, allocations: 9.531 kB / 1.043 GB, free: 56.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.487e-05/0.6726, allocations: 7.781 kB / 1.043 GB, free: 56.78 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.6728, allocations: 172.9 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.6728, allocations: 5.969 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.6728, allocations: 1.969 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.6731, allocations: 79.75 kB / 1.043 GB, free: 56.53 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.6731, allocations: 2.844 kB / 1.043 GB, free: 56.53 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.6731, allocations: 7.938 kB / 1.043 GB, free: 56.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.6731, allocations: 5.719 kB / 1.043 GB, free: 56.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000302/0.6734, allocations: 87.16 kB / 1.043 GB, free: 56.51 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003205/0.6737, allocations: 260.3 kB / 1.043 GB, free: 56.24 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.674, allocations: 75.17 kB / 1.043 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.6741, allocations: 52.52 kB / 1.043 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.6742, allocations: 0.625 kB / 1.043 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.6742, allocations: 37.47 kB / 1.043 GB, free: 56.14 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.503e-06/0.6742, allocations: 0 / 1.043 GB, free: 56.14 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.000545/0.6747, allocations: 158.4 kB / 1.044 GB, free: 56.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.6748, allocations: 63.84 kB / 1.044 GB, free: 56.03 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.83e-05/0.6749, allocations: 107.7 kB / 1.044 GB, free: 55.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.6749, allocations: 29.64 kB / 1.044 GB, free: 55.89 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.116e-05/0.6749, allocations: 90.31 kB / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.6749, allocations: 10.3 kB / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-06/0.6749, allocations: 0 / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.904e-05/0.675, allocations: 324.5 kB / 1.044 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.6752, allocations: 43.09 kB / 1.044 GB, free: 55.47 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.6753, allocations: 36.03 kB / 1.044 GB, free: 55.47 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.6756, allocations: 93.66 kB / 1.044 GB, free: 55.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6756, allocations: 3.938 kB / 1.044 GB, free: 55.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003069/0.6759, allocations: 117.2 kB / 1.044 GB, free: 55.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.6759, allocations: 10.97 kB / 1.044 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.676, allocations: 1.125 kB / 1.044 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.676, allocations: 0 / 1.044 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.6761, allocations: 28.12 kB / 1.044 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.6761, allocations: 5.625 kB / 1.044 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.846e-05/0.6762, allocations: 13.28 kB / 1.045 GB, free: 55.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.6762, allocations: 1.438 kB / 1.045 GB, free: 55.39 MB / 0.698 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 5.875e-05/0.6763, allocations: 118.1 kB / 1.045 GB, free: 55.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.6763, allocations: 6.531 kB / 1.045 GB, free: 55.26 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003634/0.6767, allocations: 129 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.6767, allocations: 0 / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.6767, allocations: 0.9375 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.6767, allocations: 0 / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.6769, allocations: 170.2 kB / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.6769, allocations: 2.109 kB / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.78e-05/0.677, allocations: 24.73 kB / 1.045 GB, free: 55.01 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.677, allocations: 3.5 kB / 1.045 GB, free: 55.01 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.677, allocations: 4 kB / 1.045 GB, free: 55.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.677, allocations: 0 / 1.045 GB, free: 55.01 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.677, allocations: 3.938 kB / 1.045 GB, free: 55 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.6774, allocations: 220.1 kB / 1.045 GB, free: 54.85 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.026e-05/0.6774, allocations: 79.19 kB / 1.045 GB, free: 54.76 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.6774, allocations: 1.438 kB / 1.045 GB, free: 54.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.6775, allocations: 25.44 kB / 1.045 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.6776, allocations: 4.609 kB / 1.045 GB, free: 54.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.6776, allocations: 3.781 kB / 1.045 GB, free: 54.75 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.602e-05/0.6777, allocations: 86.72 kB / 1.045 GB, free: 54.67 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6777, allocations: 0 / 1.045 GB, free: 54.67 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001958/0.6779, allocations: 10.28 kB / 1.045 GB, free: 54.67 MB / 0.698 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.0001294/0.678, allocations: 104.9 kB / 1.045 GB, free: 54.58 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003422/0.6783, allocations: 98.31 kB / 1.046 GB, free: 54.56 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.6784, allocations: 4 kB / 1.046 GB, free: 54.56 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001582/0.6785, allocations: 44.94 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.6788, allocations: 11.16 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.6791, allocations: 135.9 kB / 1.046 GB, free: 54.42 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.6793, allocations: 0.6786 MB / 1.046 GB, free: 53.72 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.164e-05/0.6793, allocations: 1.375 kB / 1.046 GB, free: 53.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.998e-05/0.6794, allocations: 11.38 kB / 1.046 GB, free: 53.71 MB / 0.698 GB Notification: Performance of SimCode: time 1.392e-06/0.6794, allocations: 0 / 1.046 GB, free: 53.71 MB / 0.698 GB Notification: Performance of Templates: time 0.002646/0.682, allocations: 0.5348 MB / 1.047 GB, free: 53.65 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Atan2.pipe 2>&1)