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.001402/0.001402, allocations: 110 kB / 18.93 MB, free: 2.945 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.001923/0.001923, allocations: 188.9 kB / 22.23 MB, free: 5.16 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.529/1.529, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.338/3.338, allocations: 0.4893 GB / 0.7884 GB, free: 33.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.002157/0.002157, allocations: 63.8 kB / 1.145 GB, free: 30.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.392, allocations: 174.9 MB / 1.316 GB, free: 9.707 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Atan2): time 0.002157/0.3942, allocations: 0.7177 MB / 1.317 GB, free: 8.988 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.3952, allocations: 0.8355 MB / 1.318 GB, free: 8.141 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.213e-05/0.3952, allocations: 4 kB / 1.318 GB, free: 8.137 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.3953, allocations: 7.938 kB / 1.318 GB, free: 8.129 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.384e-05/0.3953, allocations: 3.938 kB / 1.318 GB, free: 8.125 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.3955, allocations: 19.97 kB / 1.318 GB, free: 8.105 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.8e-05/0.3956, allocations: 43.8 kB / 1.318 GB, free: 8.062 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.3957, allocations: 11.98 kB / 1.318 GB, free: 8.051 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.537e-05/0.3958, allocations: 15.98 kB / 1.318 GB, free: 8.035 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.509e-05/0.3959, allocations: 27.84 kB / 1.318 GB, free: 8.008 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.3959, allocations: 4 kB / 1.318 GB, free: 8.004 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.3959, allocations: 4 kB / 1.318 GB, free: 8 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.865e-05/0.3959, allocations: 4 kB / 1.318 GB, free: 7.996 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.396, allocations: 23.92 kB / 1.318 GB, free: 7.973 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.3961, allocations: 47.73 kB / 1.318 GB, free: 7.926 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3961, allocations: 0 / 1.318 GB, free: 7.926 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3961, allocations: 0 / 1.318 GB, free: 7.926 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.3961, allocations: 3.938 kB / 1.318 GB, free: 7.922 MB / 1.014 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.0005297/0.3966, allocations: 278.3 kB / 1.318 GB, free: 7.617 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.3966, allocations: 12.03 kB / 1.318 GB, free: 7.605 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.3967, allocations: 8.828 kB / 1.318 GB, free: 7.598 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.3968, allocations: 118.5 kB / 1.318 GB, free: 7.457 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.3968, allocations: 4.375 kB / 1.318 GB, free: 7.453 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.3968, allocations: 4.375 kB / 1.318 GB, free: 7.449 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000414/0.3972, allocations: 70.2 kB / 1.318 GB, free: 7.375 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.3972, allocations: 192 / 1.318 GB, free: 7.375 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.3973, allocations: 3.938 kB / 1.318 GB, free: 7.371 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3973, allocations: 4 kB / 1.318 GB, free: 7.367 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002754/0.3975, allocations: 63.92 kB / 1.318 GB, free: 7.305 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.3979, allocations: 240 kB / 1.319 GB, free: 7.027 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.3981, allocations: 54.47 kB / 1.319 GB, free: 6.965 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001513/0.3983, allocations: 44.91 kB / 1.319 GB, free: 6.918 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.3983, allocations: 0 / 1.319 GB, free: 6.918 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.3983, allocations: 30.56 kB / 1.319 GB, free: 6.879 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 6.82e-07/0.3983, allocations: 0 / 1.319 GB, free: 6.879 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0005653/0.3989, allocations: 133.5 kB / 1.319 GB, free: 6.742 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.3989, allocations: 59.39 kB / 1.319 GB, free: 6.672 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.857e-05/0.399, allocations: 101.9 kB / 1.319 GB, free: 6.562 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.3991, allocations: 25.7 kB / 1.319 GB, free: 6.531 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7e-05/0.3991, allocations: 96.08 kB / 1.319 GB, free: 6.434 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.836e-05/0.3991, allocations: 3.953 kB / 1.319 GB, free: 6.43 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.3992, allocations: 13.72 kB / 1.319 GB, free: 6.41 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3993, allocations: 326.8 kB / 1.319 GB, free: 6.082 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.3995, allocations: 27.97 kB / 1.319 GB, free: 6.055 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.3996, allocations: 35.95 kB / 1.319 GB, free: 6.02 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.3999, allocations: 64.8 kB / 1.32 GB, free: 5.953 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.3999, allocations: 3.938 kB / 1.32 GB, free: 5.949 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000305/0.4002, allocations: 105.5 kB / 1.32 GB, free: 5.84 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.4002, allocations: 8 kB / 1.32 GB, free: 5.832 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.4002, allocations: 4 kB / 1.32 GB, free: 5.828 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.4002, allocations: 0 / 1.32 GB, free: 5.828 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.4003, allocations: 19.98 kB / 1.32 GB, free: 5.809 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.4003, allocations: 0 / 1.32 GB, free: 5.809 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.417e-05/0.4004, allocations: 7.984 kB / 1.32 GB, free: 5.801 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.4004, allocations: 4 kB / 1.32 GB, free: 5.797 MB / 1.014 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 9.449e-05/0.4005, allocations: 118.2 kB / 1.32 GB, free: 5.672 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.4005, allocations: 7.984 kB / 1.32 GB, free: 5.664 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003558/0.4009, allocations: 109.9 kB / 1.32 GB, free: 5.539 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.4009, allocations: 4 kB / 1.32 GB, free: 5.535 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.4009, allocations: 3.938 kB / 1.32 GB, free: 5.531 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.4009, allocations: 4.031 kB / 1.32 GB, free: 5.527 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.4011, allocations: 140.7 kB / 1.32 GB, free: 5.348 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.4011, allocations: 0 / 1.32 GB, free: 5.348 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.183e-05/0.4012, allocations: 15.98 kB / 1.32 GB, free: 5.332 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.4012, allocations: 3.984 kB / 1.32 GB, free: 5.328 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.4012, allocations: 0 / 1.32 GB, free: 5.328 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4012, allocations: 4 kB / 1.32 GB, free: 5.324 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4012, allocations: 0 / 1.32 GB, free: 5.324 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004281/0.4016, allocations: 195.3 kB / 1.32 GB, free: 5.117 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.415e-05/0.4016, allocations: 12 kB / 1.32 GB, free: 5.105 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.4017, allocations: 0 / 1.32 GB, free: 5.105 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.4018, allocations: 19.97 kB / 1.32 GB, free: 5.086 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.4018, allocations: 0 / 1.32 GB, free: 5.086 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.4018, allocations: 0 / 1.32 GB, free: 5.086 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.483e-05/0.4019, allocations: 95.25 kB / 1.32 GB, free: 4.992 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4019, allocations: 0 / 1.32 GB, free: 4.992 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002178/0.4021, allocations: 8 kB / 1.32 GB, free: 4.984 MB / 1.014 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.000152/0.4023, allocations: 91.25 kB / 1.32 GB, free: 4.887 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003483/0.4026, allocations: 75.86 kB / 1.321 GB, free: 4.812 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4026, allocations: 0 / 1.321 GB, free: 4.812 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.4028, allocations: 43.89 kB / 1.321 GB, free: 4.77 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.4031, allocations: 8.484 kB / 1.321 GB, free: 4.762 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004532/0.4036, allocations: 134 kB / 1.321 GB, free: 4.605 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.404, allocations: 0.6807 MB / 1.321 GB, free: 3.898 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.282e-05/0.404, allocations: 0 / 1.321 GB, free: 3.898 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.867e-05/0.4041, allocations: 11.44 kB / 1.321 GB, free: 3.887 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.4041, allocations: 0 / 1.321 GB, free: 3.887 MB / 1.014 GB Notification: Performance of Templates: time 0.00385/0.4079, allocations: 0.7052 MB / 1.322 GB, free: 3.191 MB / 1.014 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=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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.603109242394567]