Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001644, allocations: 111.3 kB / 17.08 MB, free: 5.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 191.7 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.119/3.119, allocations: 489.2 MB / 0.7687 GB, free: 3.809 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=2500,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|atan2_1.u1|atan2_1.u2|atan2_1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 68.12 kB / 1.103 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.91/0.912, allocations: 163.8 MB / 1.263 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001787/0.9138, allocations: 0.7131 MB / 1.263 GB, free: 7.566 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008563/0.9147, allocations: 0.8253 MB / 1.264 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.882e-05/0.9147, allocations: 0.875 kB / 1.264 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.588e-05/0.9148, allocations: 4.453 kB / 1.264 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.624e-05/0.9148, allocations: 8.172 kB / 1.264 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001425/0.915, allocations: 22.41 kB / 1.264 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.33e-05/0.9151, allocations: 43.73 kB / 1.264 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.9152, allocations: 14.48 kB / 1.264 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.975e-05/0.9153, allocations: 17.27 kB / 1.264 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.161e-05/0.9153, allocations: 23.67 kB / 1.264 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.9153, allocations: 3.219 kB / 1.264 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.245e-05/0.9153, allocations: 4.156 kB / 1.264 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.9154, allocations: 10.66 kB / 1.264 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.96e-05/0.9154, allocations: 13.58 kB / 1.264 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.9155, allocations: 44.09 kB / 1.264 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.9155, allocations: 0 / 1.264 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.774e-06/0.9155, allocations: 8.688 kB / 1.264 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.9155, allocations: 0 / 1.264 GB, free: 6.836 MB / 0.9981 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.0004872/0.916, allocations: 364.2 kB / 1.265 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.9161, allocations: 9.641 kB / 1.265 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.9161, allocations: 7.172 kB / 1.265 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.696e-05/0.9162, allocations: 168.5 kB / 1.265 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.9162, allocations: 1.938 kB / 1.265 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.9162, allocations: 5.844 kB / 1.265 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.9165, allocations: 72.66 kB / 1.265 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.9165, allocations: 4.875 kB / 1.265 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.9165, allocations: 3.938 kB / 1.265 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.9165, allocations: 0.9688 kB / 1.265 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003022/0.9168, allocations: 67.34 kB / 1.265 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002835/0.9171, allocations: 265.6 kB / 1.265 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.9174, allocations: 59.5 kB / 1.265 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.9175, allocations: 41.62 kB / 1.265 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.9175, allocations: 4.938 kB / 1.265 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.9176, allocations: 32.08 kB / 1.265 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.9176, allocations: 0 / 1.265 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005673/0.9181, allocations: 128.5 kB / 1.266 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.9182, allocations: 56.12 kB / 1.266 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.912e-05/0.9183, allocations: 108 kB / 1.266 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.9183, allocations: 30.45 kB / 1.266 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.779e-05/0.9183, allocations: 86.75 kB / 1.266 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.9183, allocations: 13.92 kB / 1.266 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.9184, allocations: 13.94 kB / 1.266 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.819e-05/0.9184, allocations: 317.8 kB / 1.266 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.9186, allocations: 34.52 kB / 1.266 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.9187, allocations: 35.48 kB / 1.266 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002899/0.919, allocations: 70.5 kB / 1.266 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.919, allocations: 4.719 kB / 1.266 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003313/0.9194, allocations: 102.3 kB / 1.266 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.9194, allocations: 5.516 kB / 1.266 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.9194, allocations: 0.7188 kB / 1.266 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.9194, allocations: 0.875 kB / 1.266 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.9196, allocations: 15.16 kB / 1.266 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.9196, allocations: 1.562 kB / 1.266 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.299e-05/0.9197, allocations: 15.09 kB / 1.266 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.9197, allocations: 1.359 kB / 1.266 GB, free: 5.055 MB / 0.9981 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.071e-05/0.9197, allocations: 116.4 kB / 1.267 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.9198, allocations: 2.062 kB / 1.267 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003664/0.9201, allocations: 104.6 kB / 1.267 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.9202, allocations: 0.9375 kB / 1.267 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.9202, allocations: 8.844 kB / 1.267 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.9202, allocations: 0.6094 kB / 1.267 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.9203, allocations: 174.3 kB / 1.267 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.9203, allocations: 1.562 kB / 1.267 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.9204, allocations: 14.69 kB / 1.267 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.9204, allocations: 0.9062 kB / 1.267 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.9205, allocations: 1.516 kB / 1.267 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.9205, allocations: 0 / 1.267 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.9205, allocations: 4.734 kB / 1.267 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.9208, allocations: 206.2 kB / 1.267 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.9208, allocations: 78.64 kB / 1.267 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.9209, allocations: 1.953 kB / 1.267 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.921, allocations: 11.33 kB / 1.267 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.921, allocations: 12.02 kB / 1.267 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.921, allocations: 0.625 kB / 1.267 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.319e-05/0.9211, allocations: 88.42 kB / 1.267 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9211, allocations: 0 / 1.267 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002226/0.9213, allocations: 6.5 kB / 1.267 GB, free: 4.328 MB / 0.9981 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.0001338/0.9214, allocations: 99.16 kB / 1.267 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003668/0.9218, allocations: 70.88 kB / 1.267 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.9218, allocations: 0 / 1.267 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.922, allocations: 38.36 kB / 1.267 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.9223, allocations: 19.08 kB / 1.267 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.9226, allocations: 163.8 kB / 1.268 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.932e-05/0.9227, allocations: 0.6796 MB / 1.268 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.9227, allocations: 13.78 kB / 1.268 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.9228, allocations: 0 / 1.268 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of Templates: time 0.002491/0.9253, allocations: 0.743 MB / 1.269 GB, free: 3.305 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Atan2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.649102797033265]