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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008832/0.0008832, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001251/0.002134, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007577/0.0007577, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009487/0.001706, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9761/0.9761, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1183/1.094, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.556/2.556, allocations: 447.1 MB / 0.675 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2809/2.837, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.693e-06/1.693e-06, allocations: 0 / 0.819 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.175e-05/1.345e-05, allocations: 2.312 kB / 0.819 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.001131/0.001144, allocations: 0.7653 MB / 0.8197 GB, free: 1.664 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007278/0.001872, allocations: 0.8859 MB / 0.8206 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.942e-05/0.001902, allocations: 3.938 kB / 0.8206 GB, free: 0.7617 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.427e-05/0.001926, allocations: 7.922 kB / 0.8206 GB, free: 0.7539 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.271e-05/0.001958, allocations: 7.938 kB / 0.8206 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 8.385e-05/0.002042, allocations: 23.91 kB / 0.8206 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 7.489e-05/0.002117, allocations: 43.8 kB / 0.8207 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.833e-05/0.002196, allocations: 11.98 kB / 0.8207 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 9.171e-05/0.002287, allocations: 23.98 kB / 0.8207 GB, free: 0.6445 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.007e-05/0.002337, allocations: 31.84 kB / 0.8208 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.002352, allocations: 0 / 0.8208 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.362e-05/0.002416, allocations: 11.98 kB / 0.8208 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.381e-05/0.00244, allocations: 4 kB / 0.8208 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.861e-05/0.002458, allocations: 15.94 kB / 0.8208 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.00256, allocations: 27.92 kB / 0.8208 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.02e-05/0.00257, allocations: 0 / 0.8208 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.11e-07/0.002571, allocations: 0 / 0.8208 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.002582, allocations: 0 / 0.8208 GB, free: 0.5547 MB / 0.7917 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.0003631/0.002945, allocations: 260.5 kB / 0.8211 GB, free: 280 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.002978, allocations: 15.97 kB / 0.8211 GB, free: 264 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.003113, allocations: 93.97 kB / 0.8212 GB, free: 152 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.888e-05/0.003192, allocations: 109.8 kB / 0.8213 GB, free: 16 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.003201, allocations: 4.375 kB / 0.8213 GB, free: 12 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.00321, allocations: 384 / 0.8213 GB, free: 12 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.003335, allocations: 66.88 kB / 0.8213 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.51e-06/0.003341, allocations: 192 / 0.8213 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.003349, allocations: 4.375 kB / 0.8213 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.003353, allocations: 384 / 0.8213 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.156e-05/0.003375, allocations: 11.92 kB / 0.8214 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002245/0.003599, allocations: 152.3 kB / 0.8215 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.874e-05/0.003658, allocations: 26.64 kB / 0.8215 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.726e-05/0.003675, allocations: 12.8 kB / 0.8215 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.003693, allocations: 0 / 0.8215 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.003712, allocations: 30.56 kB / 0.8216 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.003712, allocations: 0 / 0.8216 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001064/0.003819, allocations: 45.72 kB / 0.8216 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.003846, allocations: 51.41 kB / 0.8217 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.549e-05/0.003901, allocations: 114.9 kB / 0.8218 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.003912, allocations: 29.7 kB / 0.8218 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.105e-05/0.003943, allocations: 96.06 kB / 0.8219 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.003961, allocations: 11.89 kB / 0.8219 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.356e-05/0.003984, allocations: 13.72 kB / 0.8219 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.133e-05/0.004056, allocations: 318.8 kB / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.099e-05/0.004067, allocations: 7.984 kB / 0.8222 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.235e-06/0.004075, allocations: 4 kB / 0.8222 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.364e-05/0.004098, allocations: 13.14 kB / 0.8222 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.0041, allocations: 0 / 0.8222 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.467e-05/0.004145, allocations: 45.67 kB / 0.8223 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.004156, allocations: 4 kB / 0.8223 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.004162, allocations: 3.984 kB / 0.8223 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.004173, allocations: 11.94 kB / 0.8223 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.878e-05/0.004242, allocations: 11.94 kB / 0.8223 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.004246, allocations: 4.062 kB / 0.8223 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.984e-05/0.004266, allocations: 7.984 kB / 0.8223 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.004273, allocations: 3.938 kB / 0.8223 GB, free: 14.82 MB / 0.8073 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.319e-05/0.004326, allocations: 109.8 kB / 0.8224 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.004338, allocations: 0 / 0.8224 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.569e-05/0.004413, allocations: 49.67 kB / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.004416, allocations: 3.938 kB / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.004418, allocations: 4 kB / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.00442, allocations: 0 / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.524e-05/0.004496, allocations: 69.89 kB / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.22e-07/0.004496, allocations: 0 / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.942e-05/0.004526, allocations: 8 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.436e-06/0.004534, allocations: 15.92 kB / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.42e-07/0.004535, allocations: 0 / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-06/0.004539, allocations: 0 / 0.8226 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.004539, allocations: 3.938 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.004541, allocations: 3.938 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.813e-05/0.004609, allocations: 135.5 kB / 0.8227 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.904e-06/0.004617, allocations: 4 kB / 0.8227 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.646e-05/0.004653, allocations: 11.98 kB / 0.8227 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.00468, allocations: 0 / 0.8227 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.004683, allocations: 3.938 kB / 0.8227 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.465e-05/0.004697, allocations: 20.84 kB / 0.8228 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.004697, allocations: 0 / 0.8228 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001058/0.004803, allocations: 4 kB / 0.8228 GB, free: 14.32 MB / 0.8073 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 6.677e-05/0.00487, allocations: 76.42 kB / 0.8228 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.804e-05/0.004928, allocations: 20.78 kB / 0.8229 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.004933, allocations: 4 kB / 0.8229 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.456e-05/0.004958, allocations: 16.8 kB / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.005122, allocations: 76.8 kB / 0.8229 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005585/0.005681, allocations: 140.5 kB / 0.8231 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.221e-05/0.005713, allocations: 55.36 kB / 0.8231 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.888e-05/0.005732, allocations: 4 kB / 0.8231 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.297e-05/0.005785, allocations: 55.36 kB / 0.8232 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of SimCode: time 6.61e-07/0.005785, allocations: 4 kB / 0.8232 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of Templates: time 0.002506/0.008291, allocations: 0.7021 MB / 0.8239 GB, free: 13.12 MB / 0.8073 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Atan2.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.347856383770704]